Permalink
Browse files

fix identation

  • Loading branch information...
1 parent acd286f commit 767bf303cd8a99ff4b34720e2aa4fc8ad3458c06 @zvictor committed Feb 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 socialregistration/views.py
@@ -243,10 +243,10 @@ def get(self, request):
# Logged in user connecting an account
if request.user.is_authenticated():
try:
- profile = self.get_profile(**lookup_kwargs)
+ profile = self.get_profile(**lookup_kwargs)
# Race condition - displaying an error message.
if not profile.user == request.user:
- return self.conflict_response()
+ return self.conflict_response()
except: pass
profile, created = self.get_or_create_profile(request.user,
save=True, **lookup_kwargs)

0 comments on commit 767bf30

Please sign in to comment.