Commit 0af872e5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use dict.iterkeys() instead of dict.viewkeys() for python-2.6 compatibility.

parent c9cc425e
......@@ -936,7 +936,7 @@ class TestFieldValueCache(ERP5TypeTestCase):
def _getCacheSize(self, cache_id):
count = 0
for cache_key in field_value_cache.viewkeys():
for cache_key in field_value_cache.iterkeys():
if cache_key[0] == cache_id:
count += 1
......
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