# HG changeset patch # User phoku@33b003aa-7bff-0310-803a-e67f0ece8222 # Date 1237143589 0 # Node ID e281223a03a66b0880d48a8908bca50909f11119 # Parent 40257a6dc57dd0d91e9f7d84211dd9ad6c5462d5 Rejoice. PyChan debug messages removed. diff -r 40257a6dc57d -r e281223a03a6 engine/extensions/pychan/events.py --- a/engine/extensions/pychan/events.py Sun Mar 15 18:34:49 2009 +0000 +++ b/engine/extensions/pychan/events.py Sun Mar 15 18:59:49 2009 +0000 @@ -94,7 +94,7 @@ super(EventListenerBase,self).__init__() self.events = {} self.indent = 0 - self.debug = 1 + self.debug = get_manager().debug self.is_attached = False def attach(self,widget): diff -r 40257a6dc57d -r e281223a03a6 engine/extensions/pychan/widgets.py --- a/engine/extensions/pychan/widgets.py Sun Mar 15 18:34:49 2009 +0000 +++ b/engine/extensions/pychan/widgets.py Sun Mar 15 18:59:49 2009 +0000 @@ -342,7 +342,7 @@ """ for descr,func in eventMap.items(): name, event_name, group_name = events.splitEventDescriptor(descr) - print name, event_name, group_name + #print name, event_name, group_name widget = self.findChild(name=name) if widget: widget.capture( func, event_name = event_name, group_name = group_name )