diff options
| author | Alasdair Nicol <alasdair@thenicols.net> | 2013-10-20 00:33:10 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-10-21 08:31:30 -0400 |
| commit | b289fcf1bfeaa717ed465b2529a275b61dc02d92 (patch) | |
| tree | 1b43958bb74005ccb93f3cd12ce4bc13d9747ab2 /django/forms/widgets.py | |
| parent | a3690168cbde5e7bee16443569ad3dedd2466af7 (diff) | |
Fixed #21288 -- Fixed E126 pep8 warnings
Diffstat (limited to 'django/forms/widgets.py')
| -rw-r--r-- | django/forms/widgets.py | 6 |
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://', '/')): |
