From 9f380d76b4ed0c8aaef84fc783e91003ad485c93 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 18 May 2014 00:24:19 +0200 Subject: [PATCH] PEP8. --- naja/actions.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/naja/actions.py b/naja/actions.py index 4d4a0f0..0baba3a 100644 --- a/naja/actions.py +++ b/naja/actions.py @@ -255,14 +255,16 @@ class AcquireWinToken(LocationAction): BITS.RED, BITS.GREEN, BITS.BLUE, ])) + class AcquireWinTokenAndLoseHealth(AcquireWinToken): TEXT = "Gain {WINTOKEN}, lose {HEALTH}, then clear {RED,GREEN,BLUE}." GLYPHS = (ACTION_GLYPHS.WINTOKEN, ACTION_GLYPHS.DAMAGE) def perform_action(self, board, location): self.take_damage(board) - super(AcquireWinTokenAndLoseHealth, self).perform_action(board, - location) + super(AcquireWinTokenAndLoseHealth, self).perform_action( + board, location) + class GainHealth(LocationAction): TEXT = "Gain {HEALTH}." -- 2.34.1