diff pyntnclick/tools/rect_drawer.py @ 661:5dc866e1d71d pyntnclick

Misc pep8 and pyflakes fixes
author Neil Muller <neil@dip.sun.ac.za>
date Sun, 12 Feb 2012 15:00:53 +0200
parents b2c2b6f56291
children 6daaeffb37d1
line wrap: on
line diff
--- a/pyntnclick/tools/rect_drawer.py	Sun Feb 12 14:48:47 2012 +0200
+++ b/pyntnclick/tools/rect_drawer.py	Sun Feb 12 15:00:53 2012 +0200
@@ -1,9 +1,6 @@
 # Quickly hacked together helper for working out
 # interactive regions in Suspended Sentence
 
-import sys
-import os.path
-
 # XXX: Threw away albow
 #from albow.root import RootWidget
 #from albow.utils import frame_rect
@@ -677,6 +674,5 @@
 def make_rect_display():
     pygame.display.init()
     pygame.font.init()
-    return pygame.display.set_mode((constants.screen[0]
-                                       + constants.menu_width,
-                                      constants.screen[1]))
+    pygame.display.set_mode((constants.screen[0]
+        + constants.menu_width, constants.screen[1]))