Mercurial > hg
diff mercurial/dagparser.py @ 33716:c91013452b33
dagparser: make print statement in doctest Py3 portable
Differential Revision: https://phab.mercurial-scm.org/D277
author | Augie Fackler <augie@google.com> |
---|---|
date | Thu, 15 Jun 2017 13:32:02 -0400 |
parents | 56b2bcea2529 |
children | 0fa781320203 |
line wrap: on
line diff
--- 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... '''