[migration/3.18] Fix NameError
authorDenis Laxalde <denis.laxalde@logilab.fr>
Tue, 14 Jan 2014 15:05:11 +0100
changeset 9408 f11854169654
parent 9407 34fccd9104bc
child 9409 2f684e538174
[migration/3.18] Fix NameError
misc/migration/3.18.0_Any.py
--- a/misc/migration/3.18.0_Any.py	Tue Jan 14 14:42:00 2014 +0100
+++ b/misc/migration/3.18.0_Any.py	Tue Jan 14 15:05:11 2014 +0100
@@ -125,5 +125,5 @@
 
 # all attributes perms have to be refreshed ...
 for rschema in schema.relations():
-    if relation.final:
+    if rschema.final:
         sync_schema_props_perms(rschema.type, syncprops=False)