devtools/htmlparser.py
changeset 10662 10942ed172de
parent 10618 3274a1648c7e
child 10696 4ba4be5553cf
--- a/devtools/htmlparser.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/devtools/htmlparser.py	Tue Sep 15 16:15:03 2015 +0200
@@ -209,7 +209,7 @@
     def matching_nodes(self, tag, **attrs):
         for elt in self.etree.iterfind(self._iterstr(tag)):
             eltattrs  = elt.attrib
-            for attr, value in attrs.iteritems():
+            for attr, value in attrs.items():
                 try:
                     if eltattrs[attr] != value:
                         break