dabo Commit
Revision 1461
Date: 2005-10-17 14:59:05 -0700 (Mon, 17 Oct 2005)
Author: paul

Changed:
U   trunk/dabo/dEvents.py

Log:
Fixed a small bug introduced last week that could result in an
UnboundLocalError: Variable 'ret' referenced before assignment.



Diff:
Modified: trunk/dabo/dEvents.py
===================================================================
--- trunk/dabo/dEvents.py       2005-10-17 16:58:16 UTC (rev 1460)
+++ trunk/dabo/dEvents.py       2005-10-17 21:59:05 UTC (rev 1461)
@@ -100,8 +100,8 @@
 
        def __getattr__(self, att):
                if self._eventData.has_key(att):
-                       ret = self._eventData[att]
-               return ret
+                       return self._eventData[att]
+               return None
                        
        def _getContinue(self):
                return self._continue




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to