[Zodb-checkins] CVS: ZODB3/ZEO/zrpc - client.py:1.18

Guido van Rossum guido@python.org
Fri, 27 Sep 2002 14:33:47 -0400


Update of /cvs-repository/ZODB3/ZEO/zrpc
In directory cvs.zope.org:/tmp/cvs-serv28007

Modified Files:
	client.py 
Log Message:
Fix typo: a -> addr.  Found by pychecker.


=== ZODB3/ZEO/zrpc/client.py 1.17 => 1.18 ===
--- ZODB3/ZEO/zrpc/client.py:1.17	Mon Sep 23 15:28:35 2002
+++ ZODB3/ZEO/zrpc/client.py	Fri Sep 27 14:33:47 2002
@@ -65,7 +65,8 @@
             for addr in addrs:
                 addr_type = self._guess_type(addr)
                 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))
             return addrlist