commit-gnue
[Top][All Lists]
Advanced

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

[gnue] r8483 - trunk/gnue-common/src/logic


From: reinhard
Subject: [gnue] r8483 - trunk/gnue-common/src/logic
Date: Wed, 24 May 2006 06:59:54 -0500 (CDT)

Author: reinhard
Date: 2006-05-24 06:59:53 -0500 (Wed, 24 May 2006)
New Revision: 8483

Modified:
   trunk/gnue-common/src/logic/usercode.py
Log:
Moved registration of actions to _buildObject so the action dictionary is
available in phase 1 init.


Modified: trunk/gnue-common/src/logic/usercode.py
===================================================================
--- trunk/gnue-common/src/logic/usercode.py     2006-05-24 11:45:06 UTC (rev 
8482)
+++ trunk/gnue-common/src/logic/usercode.py     2006-05-24 11:59:53 UTC (rev 
8483)
@@ -175,12 +175,22 @@
 
 
     # -------------------------------------------------------------------------
+    # Build object
+    # -------------------------------------------------------------------------
+
+    def _buildObject(self):
+
+        self._root._actions[self.name] = self
+
+        return UserCode._buildObject(self)
+
+
+    # -------------------------------------------------------------------------
     # Phase 1 initialization
     # -------------------------------------------------------------------------
 
     def __initialize(self):
 
-        self._root._actions[self.name] = self
         self.compile([])
 
 





reply via email to

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