app/soc/cache/logic.py
changeset 2070 9555be8634a3
parent 1958 8e8f45dd46e3
child 2160 3f9dd37d98a8
--- a/app/soc/cache/logic.py	Fri Apr 03 17:21:26 2009 +0000
+++ b/app/soc/cache/logic.py	Fri Apr 03 17:23:53 2009 +0000
@@ -34,9 +34,9 @@
 
   new_filter = {}
 
-  for key, value in filter.iteritems():
+  for filter_key, value in filter.iteritems():
     new_value = value.key().name() if isinstance(value, db.Model) else value
-    new_filter[key] = new_value
+    new_filter[filter_key] = new_value
 
   return 'query_for_%(kind)s_%(filter)s_%(order)s' % {
       'kind': repr(model.kind()),