Mercurial > fife-parpg
changeset 208:e281223a03a6
Rejoice. PyChan debug messages removed.
author | phoku@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 15 Mar 2009 18:59:49 +0000 |
parents | 40257a6dc57d |
children | 044d1fead5d2 |
files | engine/extensions/pychan/events.py engine/extensions/pychan/widgets.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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):
--- 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 )