[Checkins] SVN: z3c.pt/trunk/src/z3c/pt/expressions.py Do not call intermediate path items.

Malthe Borch mborch at gmail.com
Tue Sep 2 11:17:51 EDT 2008


Log message for revision 90712:
  Do not call intermediate path items.

Changed:
  U   z3c.pt/trunk/src/z3c/pt/expressions.py

-=-
Modified: z3c.pt/trunk/src/z3c/pt/expressions.py
===================================================================
--- z3c.pt/trunk/src/z3c/pt/expressions.py	2008-09-02 14:41:19 UTC (rev 90711)
+++ z3c.pt/trunk/src/z3c/pt/expressions.py	2008-09-02 15:17:50 UTC (rev 90712)
@@ -721,12 +721,8 @@
         next = getattr(base, name, _marker)
         if next is not _marker:
             _callable = callable(next)
-
-            if _callable:
-                base = next()
-            else:
-                base = next
-                continue
+            base = next
+            continue
         else:
             # special-case dicts for performance reasons        
             if getattr(base, '__class__', None) == dict:



More information about the Checkins mailing list