core: cleanup

This commit is contained in:
Jens Langhammer
2018-12-09 21:07:38 +01:00
parent e7f7a3127c
commit 0754b07765
6 changed files with 28 additions and 14 deletions

View File

@ -19,8 +19,6 @@ class AuthorizedServiceBackend(ModelBackend):
source_q, identifier=identifier
).select_related('user')[0]
except IndexError:
print('hmm')
return None
else:
print('a')
return access.user