1
0
mirror of https://github.com/django/django.git synced 2025-10-26 15:16:09 +00:00

Fixed up some more flake8 violations (this particular violation still has many occurrences in the tests/ dir so it can't be removed from setup.cfg yet)

This commit is contained in:
Alex Gaynor
2013-10-26 10:50:40 -07:00
parent cc2049cdd7
commit f2d8027c9a
23 changed files with 68 additions and 68 deletions

View File

@@ -258,7 +258,7 @@ def learn_cache_key(request, response, cache_timeout=None, key_prefix=None, cach
def _to_tuple(s):
t = s.split('=',1)
t = s.split('=', 1)
if len(t) == 2:
return t[0].lower(), t[1]
return t[0].lower(), True