server/schemaserial.py
changeset 7235 5a0ee8de7f06
parent 7152 39c1ffc7d93f
parent 7219 d961184f9a86
child 7398 26695dd703d8
--- a/server/schemaserial.py	Mon Apr 18 19:39:22 2011 +0200
+++ b/server/schemaserial.py	Wed Apr 20 08:28:52 2011 +0200
@@ -557,6 +557,8 @@
                     yield ('SET X %s_permission Y WHERE Y eid %%(g)s, X eid %%(x)s' % action,
                            {'g': groupmap[group_or_rqlexpr]})
                 except KeyError:
+                    print ("WARNING: group %s used in permissions for %s was ignored because it doesn't exist."
+                           " You may want to add it into a precreate.py file" % (group_or_rqlexpr, erschema))
                     continue
             else:
                 # rqlexpr