[Zope-Checkins]
SVN: Zope/trunk/lib/python/Products/PluginIndexes/__init__.py
More robust.
Florent Guillaume
fg at nuxeo.com
Thu Jun 1 07:57:18 EDT 2006
Log message for revision 68437:
More robust.
Changed:
U Zope/trunk/lib/python/Products/PluginIndexes/__init__.py
-=-
Modified: Zope/trunk/lib/python/Products/PluginIndexes/__init__.py
===================================================================
--- Zope/trunk/lib/python/Products/PluginIndexes/__init__.py 2006-06-01 11:56:50 UTC (rev 68436)
+++ Zope/trunk/lib/python/Products/PluginIndexes/__init__.py 2006-06-01 11:57:17 UTC (rev 68437)
@@ -29,7 +29,10 @@
import TextIndex.TextIndex
finally:
del warnings.filters[-1]
- del __warningregistry__
+ try:
+ del __warningregistry__
+ except NameError:
+ pass
_indexes = ('TextIndex',
'KeywordIndex',
More information about the Zope-Checkins
mailing list