remove debugging prints
authorNeil <neil@dip.sun.ac.za>
Thu, 18 Apr 2013 19:34:13 +0000 (21:34 +0200)
committerNeil <neil@dip.sun.ac.za>
Thu, 18 Apr 2013 19:34:13 +0000 (21:34 +0200)
erdslangetjie/editor/editor.py
erdslangetjie/level.py

index ef08b813e01f7c2d30c4dccbda827ba2bbe21df1..59af026bc00a0cb8595ab9c04791898364076359 100644 (file)
@@ -116,7 +116,6 @@ class EditorWindow(FloatLayout):
         try:
             self.level_obj.validate()
         except RuntimeError as err:
-            print err
             popup = Popup(title='Error',
                     content=Label(text='Level not valid: %s' % err),
                     size_hint=(.5, .5))
index 092ef7bb874840420d44854a438ea8725ae76676..f430f5dd53a27e2def6254aaca778917dd32f7aa 100644 (file)
@@ -228,7 +228,6 @@ class Level(object):
         if tile == WALL or tile == ENTRY:
             return True
         if tile == GATE:
-            print tile, pos, self._gates[pos]
             if self._gates[pos] > 0:
                 return True
         return False