fix dumb name error stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 18 Feb 2010 15:42:09 +0100
branchstable
changeset 4640 1b83a25cf9f5
parent 4639 82afdc7d8cd8
child 4641 9d8903b04031
fix dumb name error
server/migractions.py
--- 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()