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-16 14:21:48 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-06-16 15:26:39 (GMT)
commit3e97fbb36640c528d0e1ca81b1e9988cb8db5981 (patch)
tree400534fc28b106eb8b8b91d12ff43f7afba5eae1
parenta9a505e4c1a299c07a4d45ae9331ba2db0dffd09 (diff)
Move logging error -> debug
-rw-r--r--game.py2
-rw-r--r--maze.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/game.py b/game.py
index 686f748..96e3d1d 100644
--- a/game.py
+++ b/game.py
@@ -299,7 +299,7 @@ class MazeGame(Gtk.DrawingArea):
debug_msg = debug_msg + "next_read %s" % next_read
- logging.error('debug_msg %s', debug_msg)
+ logging.debug('accelerometer read %s', debug_msg)
return False
diff --git a/maze.py b/maze.py
index 72d17e9..3d1264a 100644
--- a/maze.py
+++ b/maze.py
@@ -63,7 +63,7 @@ class Maze:
starty = self.generator.randrange(1, height, 2)
self.dig(startx, starty)
for row in self.map:
- logging.error(row)
+ logging.debug(row)
def _check_point_in_rectangle(self, rectangle, x, y):
if x < rectangle.x or y < rectangle.y: