[Checkins] SVN: z3c.jbot/trunk/z3c/jbot/ Do not reraise import
error; also, do not import message factory from Plone.
Malthe Borch
mborch at gmail.com
Thu Jul 3 04:31:11 EDT 2008
Log message for revision 87946:
Do not reraise import error; also, do not import message factory from Plone.
Changed:
U z3c.jbot/trunk/z3c/jbot/__init__.py
U z3c.jbot/trunk/z3c/jbot/metadirectives.py
-=-
Modified: z3c.jbot/trunk/z3c/jbot/__init__.py
===================================================================
--- z3c.jbot/trunk/z3c/jbot/__init__.py 2008-07-03 07:58:31 UTC (rev 87945)
+++ z3c.jbot/trunk/z3c/jbot/__init__.py 2008-07-03 08:31:10 UTC (rev 87946)
@@ -13,6 +13,6 @@
from Products.PageTemplates.PageTemplateFile import PageTemplateFile as Z2PageTemplateFile
Z2PageTemplateFile._cook_check = jbot(Z2PageTemplateFile._cook_check)
except ImportError:
- raise
+ pass
Modified: z3c.jbot/trunk/z3c/jbot/metadirectives.py
===================================================================
--- z3c.jbot/trunk/z3c/jbot/metadirectives.py 2008-07-03 07:58:31 UTC (rev 87945)
+++ z3c.jbot/trunk/z3c/jbot/metadirectives.py 2008-07-03 08:31:10 UTC (rev 87946)
@@ -1,11 +1,10 @@
from zope.interface import Interface
from zope.configuration import fields
-from Products.CMFPlone import PloneMessageFactory as _
-
class ITemplateOverridesDirective(Interface):
"""Directive which registers a directory with template overrides."""
- directory = fields.Path(title=_(u"Path to directory"),
- required=True)
+ directory = fields.Path(
+ title=u"Path to directory",
+ required=True)
More information about the Checkins
mailing list