[c-c i18ncubicweb] fix crash, closes #3096647 stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Wed, 28 Aug 2013 17:15:12 +0200
branchstable
changeset 9231 d2edd8ac5f33
parent 9230 a68b2fe8a800
child 9232 430a7dc5e2cf
[c-c i18ncubicweb] fix crash, closes #3096647
devtools/devctl.py
--- a/devtools/devctl.py	Fri Aug 30 09:57:38 2013 +0200
+++ b/devtools/devctl.py	Wed Aug 28 17:15:12 2013 +0200
@@ -153,8 +153,8 @@
         libschema = {}
         for cstrtype in CONSTRAINTS:
             add_msg(w, cstrtype)
-
-        is_in_lib = lambda: False
+        libafss = libaiams = None
+        is_in_lib = lambda *args: False
     done = set()
     for eschema in sorted(schema.entities()):
         if eschema.type in libschema: