hgext/convert/transport.py
changeset 5140 792c1d979097
parent 5126 117dab48ca99
child 6212 e75aab656f46
--- a/hgext/convert/transport.py	Tue Aug 07 09:49:07 2007 +0200
+++ b/hgext/convert/transport.py	Tue Aug 07 09:56:21 2007 +0200
@@ -81,7 +81,7 @@
                 self.ra = svn.client.open_ra_session(
                     self.svn_url.encode('utf8'),
                     self.client, self.pool)
-            except SubversionException, (_, num):
+            except SubversionException, (inst, num):
                 if num in (svn.core.SVN_ERR_RA_ILLEGAL_URL,
                            svn.core.SVN_ERR_RA_LOCAL_REPOS_OPEN_FAILED,
                            svn.core.SVN_ERR_BAD_URL):