PEP8 fix.
authorSimon Cross <hodgestar@gmail.com>
Sat, 10 Sep 2016 17:08:05 +0000 (19:08 +0200)
committerSimon Cross <hodgestar@gmail.com>
Sat, 10 Sep 2016 17:08:05 +0000 (19:08 +0200)
tabakrolletjie/enemies.py

index 333c8270b8a92b3ddc358aef9fbd28983ab98e60..9524617ffeef3037cab592d9bdc02885e2091af6 100644 (file)
@@ -87,7 +87,9 @@ class Mould(pymunk.Body):
         if not self._img:
             name = random.choice(
                 ('mouldA.png', 'mouldB.png', 'mouldC.png'))
-            size = "16" if self._age < MOULD_STAGES[0] else "32" if self._age < MOULD_STAGES[1] else "64"
+            size = (
+                "16" if self._age < MOULD_STAGES[0] else
+                "32" if self._age < MOULD_STAGES[1] else "64")
             self._img = loader.load_image(size, name,
                                           transform=self._transform)
         return self._img