Commit 01d0ac06 authored by Sylvain Thénault's avatar Sylvain Thénault
Browse files

[c-c i18ncubicweb] fix crash, closes #3096647

--HG--
branch : stable
parent a68b2fe8a800
......@@ -153,8 +153,8 @@ def _generate_schema_pot(w, vreg, schema, libconfig=None):
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:
......
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