[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7299 - trunk/gnue-common/src/datasources
From: |
reinhard |
Subject: |
[gnue] r7299 - trunk/gnue-common/src/datasources |
Date: |
Wed, 6 Apr 2005 02:42:31 -0500 (CDT) |
Author: reinhard
Date: 2005-04-06 02:42:30 -0500 (Wed, 06 Apr 2005)
New Revision: 7299
Modified:
trunk/gnue-common/src/datasources/GConditions.py
Log:
Fix for __nonzero__
Modified: trunk/gnue-common/src/datasources/GConditions.py
===================================================================
--- trunk/gnue-common/src/datasources/GConditions.py 2005-04-05 21:34:32 UTC
(rev 7298)
+++ trunk/gnue-common/src/datasources/GConditions.py 2005-04-06 07:42:30 UTC
(rev 7299)
@@ -288,7 +288,10 @@
def __nonzero__ (self):
- return (isinstance (self, GConditionElement) or self._children)
+ if isinstance (self, GConditionElement) or self._children:
+ return True
+ else:
+ return False
# =============================================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7299 - trunk/gnue-common/src/datasources,
reinhard <=