From: Neil Date: Wed, 17 Apr 2013 11:31:51 +0000 (+0200) Subject: pep8 cleanup X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=bd424c20f83fb70cab857268c8bb81994799e123;p=erdslangetjie.git pep8 cleanup --- diff --git a/erdslangetjie/level.py b/erdslangetjie/level.py index 4458245..925974c 100644 --- a/erdslangetjie/level.py +++ b/erdslangetjie/level.py @@ -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