[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7300 - trunk/gnue-common/src/datasources
From: |
reinhard |
Subject: |
[gnue] r7300 - trunk/gnue-common/src/datasources |
Date: |
Wed, 6 Apr 2005 04:06:40 -0500 (CDT) |
Author: reinhard
Date: 2005-04-06 04:06:39 -0500 (Wed, 06 Apr 2005)
New Revision: 7300
Modified:
trunk/gnue-common/src/datasources/GConditions.py
Log:
Removed __nonzero__ from GCondition again. Objects with False truth-value break
GObj's parent handling.
Modified: trunk/gnue-common/src/datasources/GConditions.py
===================================================================
--- trunk/gnue-common/src/datasources/GConditions.py 2005-04-06 07:42:30 UTC
(rev 7299)
+++ trunk/gnue-common/src/datasources/GConditions.py 2005-04-06 09:06:39 UTC
(rev 7300)
@@ -282,18 +282,6 @@
item.breakReferences ()
- # ---------------------------------------------------------------------------
- # Return False for an empty condition and True otherwise
- # ---------------------------------------------------------------------------
-
- def __nonzero__ (self):
-
- if isinstance (self, GConditionElement) or self._children:
- return True
- else:
- return False
-
-
# =============================================================================
# Top level classes
# =============================================================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7300 - trunk/gnue-common/src/datasources,
reinhard <=