pep8 cleanup
authorNeil <neil@dip.sun.ac.za>
Wed, 17 Apr 2013 11:31:51 +0000 (13:31 +0200)
committerNeil <neil@dip.sun.ac.za>
Wed, 17 Apr 2013 11:31:51 +0000 (13:31 +0200)
erdslangetjie/level.py

index 4458245a4156c7ab63f866fcc6ba916d2fcc3769..925974cf5dcdd6bdff124027a0ac10a0a582310b 100644 (file)
@@ -55,7 +55,7 @@ class Level(object):
 
     def get_wall_tile(self, x, y):
         # Is the neighbour in this direction also a wall?
-        left = right = top =  bottom = False
+        left = right = top = bottom = False
         if x == 0:
             left = True
         elif self.data[y][x - 1] == WALL:
@@ -104,7 +104,6 @@ class Level(object):
             return load_image('tiles/end_left.png')
         return load_image('tiles/pillar.png')
 
-
     def blocked(self, pos):
         if pos[0] < 0:
             return True