web/views/facets.py
changeset 10662 10942ed172de
parent 9492 c7fc56eecd1a
child 10666 7f6b5f023884
--- a/web/views/facets.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/web/views/facets.py	Tue Sep 15 16:15:03 2015 +0200
@@ -168,7 +168,7 @@
                  DeprecationWarning, stacklevel=2)
         else:
             vidargs = {}
-        vidargs = dict((k, v) for k, v in vidargs.iteritems() if v)
+        vidargs = dict((k, v) for k, v in vidargs.items() if v)
         facetargs = xml_escape(json_dumps([divid, vid, paginate, vidargs]))
         w(u'<form id="%sForm" class="%s" method="post" action="" '
           'cubicweb:facetargs="%s" >' % (divid, cssclass, facetargs))