Fix the style as per PEP8 guidelines.
--- a/pytask/profile/forms.py Tue Jan 18 21:55:13 2011 +0530
+++ b/pytask/profile/forms.py Tue Jan 18 21:57:41 2011 +0530
@@ -71,7 +71,7 @@
return data
- def save(self,profile_callback=None):
+ def save(self, profile_callback=None):
new_user = RegistrationProfile.objects.create_inactive_user(
username=self.cleaned_data['username'],
@@ -87,9 +87,10 @@
uniq_key=make_key(Profile),
)
new_profile.save()
-
+
return new_user
+
class CreateProfileForm(forms.ModelForm):
class Meta: