mirror of
https://github.com/django/django.git
synced 2025-08-22 03:24:21 +00:00
Fixed three small flake8 violations.
This commit is contained in:
parent
3e25c8ac69
commit
a248c88372
3 changed files with 4 additions and 3 deletions
|
@ -166,7 +166,7 @@ class ModelState(object):
|
|||
# __bases__ we may end up with duplicates and ordering issues, we
|
||||
# therefore discard any duplicates and reorder the bases according
|
||||
# to their index in the MRO.
|
||||
flattened_bases = sorted(set(flatten_bases(model)), key=lambda x:model.__mro__.index(x))
|
||||
flattened_bases = sorted(set(flatten_bases(model)), key=lambda x: model.__mro__.index(x))
|
||||
|
||||
# Make our record
|
||||
bases = tuple(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue