summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-08-24 22:28:40 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-24 22:28:40 +0200
commit12557023aec828af6a9a78473273389750d68330 (patch)
treec6baeafb7396358aa512c8c8dfa37b4d51791e42
parent8a44a7c1f11211d56d54c185dc8fdc90e35f221b (diff)
remove annoying debug output
-rw-r--r--gui.py1
-rw-r--r--subscriber.py2
2 files changed, 0 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index 02e4a42..bce2355 100644
--- a/gui.py
+++ b/gui.py
@@ -151,7 +151,6 @@ def draw_cell(cell):
cx2,cy2 = world_to_win_pt(p2,c.player.center)
cx3,cy3 = world_to_win_pt(p3,c.player.center)
except AttributeError:
- print("wtf, no poslog available?!")
cx2,cy2=cx,cy
cx3,cy3=cx,cy
diff --git a/subscriber.py b/subscriber.py
index feddf04..3312cbd 100644
--- a/subscriber.py
+++ b/subscriber.py
@@ -86,11 +86,9 @@ class EnhancingSubscriber(DummySubscriber):
for cid in self.c.world.cells:
if cid not in self.history:
self.history[cid] = CellHistory()
- print("unknown cell")
self.history[cid].poslog.append(self.c.world.cells[cid].pos.copy())
self.c.world.cells[cid].poslog = self.history[cid].poslog
- print("poslog of size="+str(len(self.history[cid].poslog)))
self.history[cid].stale = False