mirror of
https://github.com/django/django.git
synced 2025-07-25 14:14:13 +00:00
Fixed assorted flake8 errors.
This commit is contained in:
parent
695bc0d191
commit
b67ab75e82
38 changed files with 92 additions and 73 deletions
|
@ -117,7 +117,7 @@ def media_property(cls):
|
|||
if definition:
|
||||
extend = getattr(definition, 'extend', True)
|
||||
if extend:
|
||||
if extend == True:
|
||||
if extend is True:
|
||||
m = base
|
||||
else:
|
||||
m = Media()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue