summaryrefslogtreecommitdiff
path: root/django/utils/cache.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2013-10-26 10:50:40 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2013-10-26 10:50:40 -0700
commitf2d8027c9aea93750fc4213d9e733c8575e89502 (patch)
tree40b630efdf809fa9a97be9770388031a21e242b4 /django/utils/cache.py
parentcc2049cdd7f7afa3ffdccf5ef77af84a9abbf8f9 (diff)
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)
Diffstat (limited to 'django/utils/cache.py')
-rw-r--r--django/utils/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/utils/cache.py b/django/utils/cache.py
index 7a77f911ce..375c34d7ad 100644
--- a/django/utils/cache.py
+++ b/django/utils/cache.py
@@ -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