Author: reinhard
Date: 2006-04-17 03:29:53 -0500 (Mon, 17 Apr 2006)
New Revision: 8409
Modified:
trunk/gnue-common/src/logic/NamespaceCore.py
Log:
Add functions and children of an object to the local namespace of that object
again.
Modified: trunk/gnue-common/src/logic/NamespaceCore.py
===================================================================
--- trunk/gnue-common/src/logic/NamespaceCore.py 2006-04-14 23:27:27 UTC
(rev 8408)
+++ trunk/gnue-common/src/logic/NamespaceCore.py 2006-04-17 08:29:53 UTC
(rev 8409)
@@ -131,6 +131,10 @@
# triggers attached, not for all objects that can appear in the trigger
# namespace.
xml_object._localTriggerNamespace = {'self': namespace_object}
+ # FIXME: Do we really want all this in the local namespace? All of this
+ # could be reached with self.xxx anyway.
+ xml_object._localTriggerNamespace.update(functions)
+ xml_object._localTriggerNamespace.update(namepsace_object.__dict__)
return namespace_object
_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue