Commit 0dd5e52a authored by Carl Meyer's avatar Carl Meyer

Fix use of iteritems()

parent 580c8536
......@@ -277,7 +277,7 @@ class CacheClass(BaseCache):
the default cache timeout will be used.
"""
pipeline = self._client.pipeline()
for key, value in data.iteritems():
for key, value in data.items():
self.set(key, value, timeout, version=version, client=pipeline)
pipeline.execute()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment