[CMF-checkins] SVN: CMF/trunk/CMFCore/URLTool.py oops! 'default' is not the second argument, and it is None anyway

Yvo Schubbe y.2007- at wcm-solutions.de
Thu Mar 8 18:25:52 EST 2007


Log message for revision 73080:
  oops! 'default' is not the second argument, and it is None anyway

Changed:
  U   CMF/trunk/CMFCore/URLTool.py

-=-
Modified: CMF/trunk/CMFCore/URLTool.py
===================================================================
--- CMF/trunk/CMFCore/URLTool.py	2007-03-08 22:15:06 UTC (rev 73079)
+++ CMF/trunk/CMFCore/URLTool.py	2007-03-08 23:25:51 UTC (rev 73080)
@@ -77,7 +77,7 @@
     def getPortalObject(self):
         """ Get the portal object itself.
         """
-        site = queryUtility(ISiteRoot, None)
+        site = queryUtility(ISiteRoot)
         if site is None:
             # fallback
             return aq_parent(aq_inner(self))



More information about the CMF-checkins mailing list