[Checkins] SVN: Products.GenericSetup/branches/1.3/Products/GenericSetup/components.py I suck

Wichert Akkerman wichert at wiggy.net
Sun Dec 16 09:41:57 EST 2007


Log message for revision 82300:
  I suck

Changed:
  U   Products.GenericSetup/branches/1.3/Products/GenericSetup/components.py

-=-
Modified: Products.GenericSetup/branches/1.3/Products/GenericSetup/components.py
===================================================================
--- Products.GenericSetup/branches/1.3/Products/GenericSetup/components.py	2007-12-16 14:32:25 UTC (rev 82299)
+++ Products.GenericSetup/branches/1.3/Products/GenericSetup/components.py	2007-12-16 14:41:56 UTC (rev 82300)
@@ -221,7 +221,7 @@
             if getattr(comp, 'aq_base', None) is not None:
                 if aq_base(comp) is site:
                     child.setAttribute('object', '')
-                elif hasattr(aq_base(comp, 'getId')):
+                elif hasattr(aq_base(comp), 'getId'):
                     child.setAttribute('object', comp.getId())
                 else:
                     # This is a five.localsitemanager wrapped utility



More information about the Checkins mailing list