# HG changeset patch # User Sylvain Thénault # Date 1258650117 -3600 # Node ID a192bc3c13b7c773ed433f82d557cf62e083c0ff # Parent 3af225f0faa01d802f6b717032ad34d352be395c typo diff -r 3af225f0faa0 -r a192bc3c13b7 server/schemahooks.py --- a/server/schemahooks.py Thu Nov 19 12:58:57 2009 +0100 +++ b/server/schemahooks.py Thu Nov 19 18:01:57 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)