hgext/convert/transport.py
changeset 25660 328739ea70c3
parent 17481 b555be7ca830
child 28412 1e03b74195d4
--- a/hgext/convert/transport.py	Tue Jun 23 22:38:21 2015 -0700
+++ b/hgext/convert/transport.py	Tue Jun 23 22:20:08 2015 -0700
@@ -87,7 +87,8 @@
                 self.ra = svn.client.open_ra_session(
                     self.svn_url,
                     self.client, self.pool)
-            except SubversionException, (inst, num):
+            except SubversionException as xxx_todo_changeme:
+                (inst, num) = xxx_todo_changeme.args
                 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):