From 12557023aec828af6a9a78473273389750d68330 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Mon, 24 Aug 2015 22:28:40 +0200 Subject: remove annoying debug output --- gui.py | 1 - subscriber.py | 2 -- 2 files changed, 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 -- cgit v1.2.3