fix pep8 issues because of new pep8 version
Change-Id: I4740c5fc1b55d8f6b809faf2fd5248965e6f4e89
This commit is contained in:
parent
fef06515c9
commit
f5a76ce35a
@ -200,7 +200,7 @@ def create_task_hash(task_type, action_list):
|
|||||||
hashable_list.append(
|
hashable_list.append(
|
||||||
action['serializer'].validated_data[field])
|
action['serializer'].validated_data[field])
|
||||||
except KeyError:
|
except KeyError:
|
||||||
if field is "username" and settings.USERNAME_IS_EMAIL:
|
if field == "username" and settings.USERNAME_IS_EMAIL:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
raise
|
raise
|
||||||
|
Loading…
x
Reference in New Issue
Block a user