server/migractions.py
branchstable
changeset 4640 1b83a25cf9f5
parent 4633 a85b4361fb22
child 4650 965395d821bc
--- a/server/migractions.py	Thu Feb 18 14:27:00 2010 +0100
+++ b/server/migractions.py	Thu Feb 18 15:42:09 2010 +0100
@@ -936,7 +936,7 @@
                 if syncprops:
                     self._synchronize_eschema(etype, syncperms=syncperms)
                 else:
-                    self._synchronize_permissions(self.fs_schema[etype], erschema.eid)
+                    self._synchronize_permissions(self.fs_schema[etype], etype.eid)
         if commit:
             self.commit()