Commit 48885027 authored by Florent Guillaume's avatar Florent Guillaume

More robust.

parent 6887619c
...@@ -23,7 +23,10 @@ try: ...@@ -23,7 +23,10 @@ try:
from ZClasses import createZClassForBase from ZClasses import createZClassForBase
finally: finally:
del warnings.filters[-1] del warnings.filters[-1]
del __warningregistry__ try:
del __warningregistry__
except NameError:
pass
createZClassForBase( ZCatalog.ZCatalog , globals() createZClassForBase( ZCatalog.ZCatalog , globals()
, 'ZCatalogBase', 'ZCatalog' ) , 'ZCatalogBase', 'ZCatalog' )
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment