[Zope-Checkins] SVN: Products.Five/trunk/zcml.py Fixed exception
raising to use future proof style.
Rocky Burt
rocky at serverzen.com
Mon May 29 16:31:04 EDT 2006
Log message for revision 68361:
Fixed exception raising to use future proof style.
Changed:
U Products.Five/trunk/zcml.py
-=-
Modified: Products.Five/trunk/zcml.py
===================================================================
--- Products.Five/trunk/zcml.py 2006-05-29 20:27:38 UTC (rev 68360)
+++ Products.Five/trunk/zcml.py 2006-05-29 20:31:03 UTC (rev 68361)
@@ -33,10 +33,10 @@
# load instance site configuration file
site_zcml = os.path.join(INSTANCE_HOME, "etc", "site.zcml")
if not os.path.exists(site_zcml):
- raise IOError, "site.zcml is now required to live at '%s', for " \
- "sites upgraded from Zope 2.9 please copy site.zcml " \
- "from your installed Zope's skel/etc directory" \
- % site_zcml
+ raise IOError("site.zcml is now required to live at '%s', for " \
+ "sites upgraded from Zope 2.9 please copy site.zcml " \
+ "from your installed Zope's skel/etc directory" \
+ % site_zcml)
global _context
_context = xmlconfig.file(site_zcml)
More information about the Zope-Checkins
mailing list