Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-06-23 18:40:50 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-06-23 19:57:06 (GMT)
commit9977d8ec28d47a3c18808e3e97d72769a36c64aa (patch)
tree424444206b194a0492aaf617aa56d679c97035d9
parentcf52ad05f34f9a60706f7ceef7c2d2be61e42149 (diff)
Remove logging
-rw-r--r--game.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/game.py b/game.py
index 2f96323..8ad090e 100644
--- a/game.py
+++ b/game.py
@@ -216,7 +216,6 @@ class MazeGame(Gtk.DrawingArea):
self._ctx = cairo.Context(self._cached_surface)
if self._dirty_rect is None and len(self._dirty_points) == 0:
- logging.error('DRAW NOTHING')
ctx.set_source_surface(self._cached_surface)
ctx.paint()
return
@@ -251,7 +250,6 @@ class MazeGame(Gtk.DrawingArea):
# re-draw the dirty rectangle
if self._dirty_rect is not None:
- logging.error('dirty_rect is not None')
# background
self._ctx.save()
@@ -275,7 +273,6 @@ class MazeGame(Gtk.DrawingArea):
# re-draw the dirty points
for x, y in self._dirty_points:
- logging.error('draw_point %s %s', x, y)
drawPoint(x, y)
main_player = self.localplayers[0]