Author: duncan
Date: Sun Mar 9 13:46:42 2008
New Revision: 10493
Log:
Changed the messages about no mapping to debug messages
Modified:
branches/rel-1/freevo/src/rc.py
Modified: branches/rel-1/freevo/src/rc.py
==============================================================================
--- branches/rel-1/freevo/src/rc.py (original)
+++ branches/rel-1/freevo/src/rc.py Sun Mar 9 13:46:42 2008
@@ -550,7 +550,7 @@
"""
map key to event based on current context
"""
- _debug_('EventHandler.key_event_mapper(key=%r)' % (key,), 2)
+ _debug_('EventHandler.key_event_mapper(key=%r)' % (key,), 1)
if not key:
return None
@@ -563,8 +563,8 @@
pass
if self.context != 'input':
- print 'no event mapping for key %s in context %s' % (key,
self.context)
- print 'send button event BUTTON arg=%s' % key
+ _debug_('no event mapping for key %r in context %r' % (key,
self.context), DINFO)
+ _debug_('send button event BUTTON arg=%r' % (key,))
return Event(BUTTON, arg=key)
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog