summaryrefslogtreecommitdiff
path: root/django/forms/widgets.py
diff options
context:
space:
mode:
authorAlasdair Nicol <alasdair@thenicols.net>2013-10-20 00:33:10 +0100
committerTim Graham <timograham@gmail.com>2013-10-21 08:31:30 -0400
commitb289fcf1bfeaa717ed465b2529a275b61dc02d92 (patch)
tree1b43958bb74005ccb93f3cd12ce4bc13d9747ab2 /django/forms/widgets.py
parenta3690168cbde5e7bee16443569ad3dedd2466af7 (diff)
Fixed #21288 -- Fixed E126 pep8 warnings
Diffstat (limited to 'django/forms/widgets.py')
-rw-r--r--django/forms/widgets.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/django/forms/widgets.py b/django/forms/widgets.py
index 2878a369e0..e6f10dd37b 100644
--- a/django/forms/widgets.py
+++ b/django/forms/widgets.py
@@ -62,9 +62,9 @@ class Media(object):
# We need to sort the keys, and iterate over the sorted list.
media = sorted(self._css.keys())
return chain(*[
- [format_html('<link href="{0}" type="text/css" media="{1}" rel="stylesheet" />', self.absolute_path(path), medium)
- for path in self._css[medium]]
- for medium in media])
+ [format_html('<link href="{0}" type="text/css" media="{1}" rel="stylesheet" />', self.absolute_path(path), medium)
+ for path in self._css[medium]]
+ for medium in media])
def absolute_path(self, path, prefix=None):
if path.startswith(('http://', 'https://', '/')):