commit-gnue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

r5510 - trunk/gnue-common/src/logic


From: reinhard
Subject: r5510 - trunk/gnue-common/src/logic
Date: Thu, 25 Mar 2004 16:01:19 -0600 (CST)

Author: reinhard
Date: 2004-03-25 16:01:18 -0600 (Thu, 25 Mar 2004)
New Revision: 5510

Modified:
   trunk/gnue-common/src/logic/NamespaceCore.py
Log:
Don't include names starting with __ in the namespace.  This excludes all
unnamed objects (where the name would be '__' + repr (object)).


Modified: trunk/gnue-common/src/logic/NamespaceCore.py
===================================================================
--- trunk/gnue-common/src/logic/NamespaceCore.py        2004-03-25 13:13:06 UTC 
(rev 5509)
+++ trunk/gnue-common/src/logic/NamespaceCore.py        2004-03-25 22:01:18 UTC 
(rev 5510)
@@ -122,7 +122,9 @@
 
           # Add this objects children to it's namespace by their name
           if object:
-            triggerObject.__dict__[child.name] = object
+            if child.name is not None:
+              if child.name [:2] != '__':
+                triggerObject.__dict__[child.name] = object
 
       #
       # populate the GObj's _localTriggerNamespace





reply via email to

[Prev in Thread] Current Thread [Next in Thread]