fix typo stable
authorAurelien Campeas <aurelien.campeas@logilab.fr>
Thu, 19 Nov 2009 19:48:41 +0100
branchstable
changeset 3884 b0ff58d929a4
parent 3879 7bb87da97026
child 3885 32634970a36c
fix typo
server/schemahooks.py
--- a/server/schemahooks.py	Thu Nov 19 14:28:59 2009 +0100
+++ b/server/schemahooks.py	Thu Nov 19 19:48:41 2009 +0100
@@ -963,7 +963,7 @@
     # don't use getattr(entity, attr), we would get the modified value if any
     for attr in ro_attrs:
         if attr in entity.edited_attributes:
-            orival, newval = entity_oldnewvalue(entity, attr)
+            origval, newval = entity_oldnewvalue(entity, attr)
             if newval != origval:
                 errors[attr] = session._("can't change the %s attribute") % \
                                display_name(session, attr)