[Checkins] SVN: Products.CMFCore/trunk/Products/CMFCore/TypesTool.py Wrap long lines.
Tres Seaver
tseaver at palladion.com
Wed Jul 8 11:15:30 EDT 2009
Log message for revision 101748:
Wrap long lines.
Changed:
U Products.CMFCore/trunk/Products/CMFCore/TypesTool.py
-=-
Modified: Products.CMFCore/trunk/Products/CMFCore/TypesTool.py
===================================================================
--- Products.CMFCore/trunk/Products/CMFCore/TypesTool.py 2009-07-08 15:11:12 UTC (rev 101747)
+++ Products.CMFCore/trunk/Products/CMFCore/TypesTool.py 2009-07-08 15:15:29 UTC (rev 101748)
@@ -504,7 +504,8 @@
for d in container.all_meta_types():
if d['name'] == self.content_meta_type:
sm = getSecurityManager()
- ti_check = sm.checkPermission(d['permission'], container)
+ ti_check = sm.checkPermission(d['permission'],
+ container)
break
if not ti_check:
@@ -755,9 +756,10 @@
rval.append(t)
elif getattr(aq_base(t), '_isTypeInformation', 0):
# BBB
- warn("The '_isTypeInformation' marker attribute is deprecated, "
- "and will be removed in CMF 2.3. Please mark the "
- "instance with the 'ITypeInformation' interface instead.",
+ warn("The '_isTypeInformation' marker attribute is "
+ "deprecated, and will be removed in CMF 2.3. "
+ "Please mark the instance with the 'ITypeInformation' "
+ "interface instead.",
DeprecationWarning, stacklevel=2)
rval.append(t)
# Skip items with no ID: old signal for "not ready"
More information about the Checkins
mailing list