Fixed a typo in id_user
authorSverre Rabbelier <srabbelier@gmail.com>
Mon, 10 Nov 2008 00:40:39 +0000
changeset 457 6cf15fa24263
parent 456 7781c2836d3c
child 458 e836e8914c8e
Fixed a typo in id_user
app/soc/logic/site/id_user.py
--- a/app/soc/logic/site/id_user.py	Mon Nov 10 00:40:15 2008 +0000
+++ b/app/soc/logic/site/id_user.py	Mon Nov 10 00:40:39 2008 +0000
@@ -114,7 +114,7 @@
   else:
     old_email = None
 
-  if new_id.email().lower == old_email.lower:
+  if new_id.email().lower() == old_email.lower():
     # "new" email is same as existing User wanting it, so it is "available"
     return True
   # else: "new" email truly is new to the existing User, so keep checking