Commit e1dbb1bf authored by Guido van Rossum's avatar Guido van Rossum

Fix typo: a -> addr. Found by pychecker.

parent 02c7e4a8
...@@ -65,7 +65,8 @@ class ConnectionManager: ...@@ -65,7 +65,8 @@ class ConnectionManager:
for addr in addrs: for addr in addrs:
addr_type = self._guess_type(addr) addr_type = self._guess_type(addr)
if addr_type is None: if addr_type is None:
raise ValueError, "unknown address in list: %s" % repr(a) raise ValueError, (
"unknown address in list: %s" % repr(addr))
addrlist.append((addr_type, addr)) addrlist.append((addr_type, addr))
return addrlist return addrlist
......
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