cwvreg.py
changeset 3185 bd0126d17e83
parent 3163 edfe43ceaa35
parent 3184 613064b49331
child 3230 1d25e928c299
--- a/cwvreg.py	Thu Sep 10 08:13:22 2009 +0200
+++ b/cwvreg.py	Fri Sep 11 15:57:34 2009 +0200
@@ -138,6 +138,7 @@
         baseschemas = [eschema] + eschema.ancestors()
         # browse ancestors from most specific to most generic and try to find an
         # associated custom entity class
+        cls = None
         for baseschema in baseschemas:
             try:
                 btype = ETYPE_NAME_MAP[baseschema]