SVN: CMF/trunk/CMFCore/URLTool.py oops! 'default' is not the second argument, and it is None anyway
Yvo Schubbe <[email protected]> Thu, 8 Mar 2007 18:25:52 -0500 (EST)
| Newsgroups | gmane.comp.web.zope.cmf.cvs |
|---|---|
| Message-ID | <20070308232552.082DE203B73__40593.6899049722$1173396360$gmane$org@mail.zope.org> |
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))