Make PEP8 cleanup of line spaces and character distances as well as indents

This commit is contained in:
Griatch 2017-08-19 23:16:36 +02:00
parent 7ff783fea1
commit b278337172
189 changed files with 2039 additions and 1583 deletions

View file

@ -38,6 +38,7 @@ class AccountDBManager(TypedObjectManager, UserManager):
#swap_character
"""
def num_total_accounts(self):
"""
Get total number of accounts.
@ -91,7 +92,7 @@ class AccountDBManager(TypedObjectManager, UserManager):
tdelta = datetime.timedelta(days)
start_date = end_date - tdelta
return self.filter(last_login__range=(
start_date, end_date)).order_by('-last_login')
start_date, end_date)).order_by('-last_login')
def get_account_from_email(self, uemail):
"""