hooks/integrity.py
changeset 2968 0e3460341023
parent 2901 8f4d495c94c2
child 3086 94ed8f0f0d14
--- a/hooks/integrity.py	Tue Aug 18 09:25:44 2009 +0200
+++ b/hooks/integrity.py	Fri Aug 21 16:26:20 2009 +0200
@@ -254,4 +254,4 @@
     def __call__(self):
         user = self.entity
         if 'login' in user.edited_attributes and user.login:
-            entity.login = entity.login.strip()
+            user.login = user.login.strip()