Fix typo in recent validate.py changes (r682).
authorTodd Larsen <tlarsen@google.com>
Thu, 02 Oct 2008 15:36:08 +0000
changeset 260 8b393bef717a
parent 259 74eb6b01c82c
child 261 76c8de298e98
Fix typo in recent validate.py changes (r682). Patch by: Chen Lunpeng Review by: Todd Larsen
app/soc/views/site/user/profile.py
--- a/app/soc/views/site/user/profile.py	Wed Oct 01 22:19:22 2008 +0000
+++ b/app/soc/views/site/user/profile.py	Thu Oct 02 15:36:08 2008 +0000
@@ -362,10 +362,9 @@
   class Meta:
     model = None
   
-  
   def clean_link_name(self):
     link_name = self.cleaned_data.get('link_name')
-    if not validate.LinkNameFormatValid(link_name):
+    if not validate.isLinkNameFormatValid(link_name):
       raise forms.ValidationError("This link name is in wrong format.")
     else:
       if id_user.doesLinkNameExist(link_name):