[CMF-checkins] CVS: CMF - PortalContent.py:1.20
tseaver@digicool.com
tseaver@digicool.com
Tue, 5 Jun 2001 17:48:58 -0400 (EDT)
Update of /cvs-repository/CMF/CMFCore
In directory korak.digicool.com:/tmp/cvs-serv9586/CMFCore
Modified Files:
PortalContent.py
Log Message:
- Fix typo in exception raised.
--- Updated File PortalContent.py in package CMF --
--- PortalContent.py 2001/06/04 19:16:04 1.19
+++ PortalContent.py 2001/06/05 21:48:58 1.20
@@ -214,7 +214,7 @@
for action in actions:
if self._verifyActionPermissions(action):
return self.restrictedTraverse(action['action'])
- raise Unauthorized, ('No accessible views available for %s' %
+ raise 'Unauthorized', ('No accessible views available for %s' %
string.join(self.getPhysicalPath(), '/'))
else:
raise 'Not Found', ('Cannot find default view for "%s"' %