# HG changeset patch # User Neil Muller # Date 1378243966 -7200 # Node ID 42c565c5ce7661082fe61f3461e28bf01f23a42c # Parent 51f979ddddbbab292d935d7130ea1c4c6ff61836 PEP8 diff -r 51f979ddddbb -r 42c565c5ce76 tools/area_editor.py --- a/tools/area_editor.py Tue Sep 03 23:31:54 2013 +0200 +++ b/tools/area_editor.py Tue Sep 03 23:32:46 2013 +0200 @@ -160,7 +160,7 @@ if draw_cand_line and start_pos and mouse_pos: endpoint = self.fix_line_angle(start_pos, mouse_pos) pointlist = [self.round_point(start_pos), - self.point_to_pygame(endpoint)] + self.point_to_pygame(endpoint)] pygame.draw.lines(self._surface, LINE_COLOR, False, pointlist, 1) return self._surface.copy() @@ -220,7 +220,7 @@ else: mouse_pos = None level_surface = level.draw(mouse_pos, self.cur_poly, self.filled_mode, - self._draw_lines, self._start_pos) + self._draw_lines, self._start_pos) if self._draw_objects: for thing in self.level.drawables: if not isinstance(thing, Enemy):