remoteUser = localUser = None
try:
remoteUser = RemoteUser.objects.get (email=email)
- except Exception as inst:
- #print type(inst) # the exception instance
- #print inst.args # arguments stored in .args
- #print inst
+ except:
pass
try:
localUser = DjangoUser.objects.get (username=username)