D3613: py3: use `except error as e` instead of `except error, e`

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat May 19 15:40:19 EDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGf0fadc5bea21: py3: use `except error as e` instead of `except error, e` (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D3613?vs=8784&id=8818

REVISION DETAIL
  https://phab.mercurial-scm.org/D3613

AFFECTED FILES
  tests/test-parseindex.t

CHANGE DETAILS

diff --git a/tests/test-parseindex.t b/tests/test-parseindex.t
--- a/tests/test-parseindex.t
+++ b/tests/test-parseindex.t
@@ -184,7 +184,7 @@
   >     try:
   >         f()
   >         print('uncaught buffer overflow?')
-  >     except ValueError, inst:
+  >     except ValueError as inst:
   >         print(inst)
   > EOF
 



To: pulkit, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list