# HG changeset patch # User Augie Fackler # Date 1497547922 14400 # Node ID c91013452b33eddf2f350fe189dc11f494b97512 # Parent 29238dbf718e1196ebaf136d4fbd47435da5ab1a dagparser: make print statement in doctest Py3 portable Differential Revision: https://phab.mercurial-scm.org/D277 diff -r 29238dbf718e -r c91013452b33 mercurial/dagparser.py --- a/mercurial/dagparser.py Thu Jun 15 13:31:33 2017 -0400 +++ b/mercurial/dagparser.py Thu Jun 15 13:32:02 2017 -0400 @@ -156,7 +156,7 @@ Error: >>> try: list(parsedag('+1 bad')) - ... except Exception, e: print e + ... except Exception, e: print(e) invalid character in dag description: bad... '''