misc/migration/3.18.0_Any.py
changeset 9477 07fc991612b0
parent 9414 d8c0784038f4
child 9543 39f981482e34
child 9589 7e4897901c64
--- a/misc/migration/3.18.0_Any.py	Tue Jan 21 18:39:32 2014 +0100
+++ b/misc/migration/3.18.0_Any.py	Thu Jan 23 10:53:24 2014 +0100
@@ -138,4 +138,7 @@
 # all attributes perms have to be refreshed ...
 for rschema in schema.relations():
     if rschema.final:
-        sync_schema_props_perms(rschema.type, syncprops=False)
+        if rschema.type in fsschema:
+            sync_schema_props_perms(rschema.type, syncprops=False, ask_confirm=False)
+        else:
+            print 'WARNING: attribute %s missing from fs schema' % rschema.type