From: Neil Date: Thu, 18 Apr 2013 19:34:13 +0000 (+0200) Subject: remove debugging prints X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=188fa3ff7b588527e22f8a3d7676110b740da8d4;p=erdslangetjie.git remove debugging prints --- diff --git a/erdslangetjie/editor/editor.py b/erdslangetjie/editor/editor.py index ef08b81..59af026 100644 --- a/erdslangetjie/editor/editor.py +++ b/erdslangetjie/editor/editor.py @@ -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)) diff --git a/erdslangetjie/level.py b/erdslangetjie/level.py index 092ef7b..f430f5d 100644 --- a/erdslangetjie/level.py +++ b/erdslangetjie/level.py @@ -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