dabo Commit
Revision 6362
Date: 2011-02-01 10:14:46 -0800 (Tue, 01 Feb 2011)
Author: Paul
Trac: http://trac.dabodev.com/changeset/6362
Changed:
U trunk/dabo/dEvents.py
Log:
Event logging was displaying '?' when getAboluteName() couldn't find
a name for the object. Better to use the default __str__().
Diff:
Modified: trunk/dabo/dEvents.py
===================================================================
--- trunk/dabo/dEvents.py 2011-02-01 17:51:59 UTC (rev 6361)
+++ trunk/dabo/dEvents.py 2011-02-01 18:14:46 UTC (rev 6362)
@@ -96,7 +96,7 @@
holdLevel = dabo.log.level
dabo.log.setLevel(logging.INFO)
dabo.log.info("dEvent Fired: %s %s" %
-
(self._eventObject.getAbsoluteName(),
+ (self._eventObject,
self.__class__.__name__,))
dabo.log.setLevel(holdLevel)
break
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]