Fix typo in recent validate.py changes (r682).
Patch by: Chen Lunpeng
Review by: Todd Larsen
--- 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):