mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
Fixed assorted flake8 errors.
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user