app/soc/views/site/user/profile.py
changeset 311 a2121c1143b2
parent 309 7190b224c701
child 316 9efdc7bc3565
--- a/app/soc/views/site/user/profile.py	Sun Oct 12 18:32:43 2008 +0000
+++ b/app/soc/views/site/user/profile.py	Sun Oct 12 18:40:32 2008 +0000
@@ -414,10 +414,10 @@
       link_name = form.cleaned_data.get('link_name')
 
       properties = {
-        id : form_id,
-        link_name : link_name,
-        nick_name : form.cleaned_data.get('nick_name'),
-        is_developer : form.cleaned_data.get('is_developer'),
+        'id' : form_id,
+        'link_name' : link_name,
+        'nick_name' : form.cleaned_data.get('nick_name'),
+        'is_developer' : form.cleaned_data.get('is_developer'),
       }
 
       user = models.user.logic.updateOrCreateFromFields(properties, email=form_id)