home · contact · privacy
Client: Remove debugging code, superfluous whitespace.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 9 Jan 2016 17:06:44 +0000 (18:06 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 9 Jan 2016 17:06:44 +0000 (18:06 +0100)
client/commands.py
client/config/commands.py
roguelike-client

index 159af5dcd6ec58ce901491aabbfabbf392b64361..61cffacc57c565a9a6b7779e93061c1d43a48cef 100644 (file)
@@ -22,7 +22,7 @@ def command_sender(string, int_field=None):
         int_string = ""
         if int_field:
             int_string = " " + str(world_data[int_field])
-        send(string + int_string) 
+        send(string + int_string)
     return command_send
 
 
index c6cd627df58da6233c7e28c20ff5cde0d73f51d7..7de9574f3983532dcab6096e7a9d7f1d07234c3d 100644 (file)
@@ -21,4 +21,3 @@ commands = {
     "w": (command_sender("move north-west"), command_looker("north-west")),
     "x": (command_sender("move south-west"), command_looker("south-west")),
 }
-
index cf5b424a7dde41f3a53e02e1ec8c7cb7d1b5bbbe..3526300c3dbdcd17f1988687b452a7d2007734ba 100755 (executable)
@@ -204,10 +204,6 @@ def draw_screen():
                     draw_scroll_string(winmap_size[i] - offset[i]
                         - win.size[i])
         for win in windows:
-            logfile = open("logfile", "a")
-            logfile.write(repr(Window) + "\n")
-            logfile.write(repr(win) + "\n")
-            logfile.close()
             offset, winmap_size, winmap = win.draw()
             draw_winmap()
             draw_scroll_hints()