summaryrefslogtreecommitdiff
path: root/cherrypy/lib/caching.py
diff options
context:
space:
mode:
authorRobert Brewer <fumanchu@aminus.org>2006-06-12 21:13:58 +0000
committerRobert Brewer <fumanchu@aminus.org>2006-06-12 21:13:58 +0000
commita24dcf83c54b99812dd7bb87a679f0391e64d25a (patch)
tree9046c27918ab7e59f009bb3d91618d0ffda1787d /cherrypy/lib/caching.py
parenta73caf3584cc56ca44b73e078e9b24332048aca0 (diff)
downloadcherrypy-git-a24dcf83c54b99812dd7bb87a679f0391e64d25a.tar.gz
Bah. Silly iteritems.
Diffstat (limited to 'cherrypy/lib/caching.py')
-rw-r--r--cherrypy/lib/caching.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/lib/caching.py b/cherrypy/lib/caching.py
index 04f57564..05142662 100644
--- a/cherrypy/lib/caching.py
+++ b/cherrypy/lib/caching.py
@@ -154,7 +154,7 @@ def enable(**kwargs):
if not hasattr(f, "_cp_config"):
f._cp_config = {}
f._cp_config["tools.caching.on"] = True
- for k, v in kwargs:
+ for k, v in kwargs.iteritems():
f._cp_config["tools.caching." + k] = v
return f
return wrapper