Author: johannes
Date: 2006-03-26 02:38:33 -0600 (Sun, 26 Mar 2006)
New Revision: 8261

Modified:
   trunk/gnue-appserver/src/repository.py
Log:
Start another recursion only if needed. Return a reference property as 
is if requested


Modified: trunk/gnue-appserver/src/repository.py
===================================================================
--- trunk/gnue-appserver/src/repository.py      2006-03-25 15:39:22 UTC (rev 
8260)
+++ trunk/gnue-appserver/src/repository.py      2006-03-26 08:38:33 UTC (rev 
8261)
@@ -830,7 +830,7 @@
     current = parts.pop (0)
 
     if self.properties.has_key (current):
-      if self.properties [current].isReference:
+      if self.properties [current].isReference and parts:
         return self.properties [current].referencedClass.findItem (parts [0])
 
       elif parts:



_______________________________________________
commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue

Reply via email to