diff options
author | Robert Brewer <fumanchu@aminus.org> | 2006-06-12 21:13:58 +0000 |
---|---|---|
committer | Robert Brewer <fumanchu@aminus.org> | 2006-06-12 21:13:58 +0000 |
commit | a24dcf83c54b99812dd7bb87a679f0391e64d25a (patch) | |
tree | 9046c27918ab7e59f009bb3d91618d0ffda1787d /cherrypy/lib/caching.py | |
parent | a73caf3584cc56ca44b73e078e9b24332048aca0 (diff) | |
download | cherrypy-git-a24dcf83c54b99812dd7bb87a679f0391e64d25a.tar.gz |
Bah. Silly iteritems.
Diffstat (limited to 'cherrypy/lib/caching.py')
-rw-r--r-- | cherrypy/lib/caching.py | 2 |
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 |