Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-04-08 18:22:01 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-04-08 19:56:09 (GMT)
commitae0404129f0c6ef086da66dd0afbbaa28720f784 (patch)
tree66779e4c41c1a9f96e2488bcdf6a2116f86df671
parent8397d785c26616413891f6255e539a11eacb071e (diff)
Logging error to debug
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r--activity.py2
-rwxr-xr-xdraw_piano.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/activity.py b/activity.py
index 32266a6..a41fcd6 100644
--- a/activity.py
+++ b/activity.py
@@ -241,7 +241,7 @@ class SimplePianoActivity(activity.Activity):
#self._recordToolbar.keyboardRecOverButton.set_sensitive( state )
def __key_pressed_cb(self, widget, octave_clicked, key_clicked, letter):
- logging.error(
+ logging.debug(
'Pressed Octave: %d Key: %d Letter: %s' %
(octave_clicked, key_clicked, letter))
if letter in LETTERS_TO_KEY_CODES.keys():
diff --git a/draw_piano.py b/draw_piano.py
index eca666b..cce2e75 100755
--- a/draw_piano.py
+++ b/draw_piano.py
@@ -86,7 +86,7 @@ class PianoKeyboard(Gtk.DrawingArea):
if self._add_c:
cant_keys += 1
self._key_width = self._width / cant_keys
- logging.error('key_width %s', self._key_width)
+ logging.debug('key_width %s', self._key_width)
self._black_keys_height = self._height * 2 / 3
self._octave_width = self._key_width * 7
@@ -171,7 +171,7 @@ class PianoKeyboard(Gtk.DrawingArea):
self._get_value(octave_released, key_released))
self._pressed_keys = new_pressed_keys
- logging.error(self._pressed_keys)
+ logging.debug(self._pressed_keys)
# calculate the damaged area
# create a list with the old and new touches uniqified
uniq_touches = []