[Checkins] SVN: Products.ZCatalog/trunk/src/Products/ZCatalog/plan.py Style

Hanno Schlichting hannosch at hannosch.eu
Thu Oct 20 08:43:50 EST 2011


Log message for revision 123117:
  Style
  

Changed:
  U   Products.ZCatalog/trunk/src/Products/ZCatalog/plan.py

-=-
Modified: Products.ZCatalog/trunk/src/Products/ZCatalog/plan.py
===================================================================
--- Products.ZCatalog/trunk/src/Products/ZCatalog/plan.py	2011-10-20 13:42:55 UTC (rev 123116)
+++ Products.ZCatalog/trunk/src/Products/ZCatalog/plan.py	2011-10-20 13:43:49 UTC (rev 123117)
@@ -232,9 +232,8 @@
                 # to do this without imposing restrictions on the types of values
                 key.append((name, repr(v)))
 
-        key = tuple(sorted(key))
+        return tuple(sorted(key))
 
-        return key
     def plan(self):
         benchmark = PriorityMap.get_entry(self.cid, self.key)
         if not benchmark:



More information about the checkins mailing list