Log message for revision 68436: More robust. Changed: U Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py
-=- Modified: Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py =================================================================== --- Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py 2006-06-01 11:56:36 UTC (rev 68435) +++ Zope/branches/2.10/lib/python/Products/PluginIndexes/__init__.py 2006-06-01 11:56:50 UTC (rev 68436) @@ -29,7 +29,10 @@ import TextIndex.TextIndex finally: del warnings.filters[-1] - del __warningregistry__ + try: + del __warningregistry__ + except NameError: + pass _indexes = ('TextIndex', 'KeywordIndex', _______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins