]> git.ipfire.org Git - thirdparty/tornado.git/commitdiff
Rename local var so it doesn't shadow the "list" built-in.
authorVladlen Y. Koshelev <vlad.kosh@gmail.com>
Mon, 18 Feb 2013 20:39:17 +0000 (00:39 +0400)
committerVladlen Y. Koshelev <vlad.kosh@gmail.com>
Mon, 18 Feb 2013 21:06:51 +0000 (01:06 +0400)
tornado/httputil.py

index 163e303559ad13bbc1e0e871ae46b0e00dfddb9e..94b8ba4f28987470c9443bcef36044aecd6edbe1 100644 (file)
@@ -106,8 +106,8 @@ class HTTPHeaders(dict):
         If a header has multiple values, multiple pairs will be
         returned with the same name.
         """
-        for name, list in self._as_list.items():
-            for value in list:
+        for name, values in self._as_list.items():
+            for value in values:
                 yield (name, value)
 
     def parse_line(self, line):