Mercurial > public > mercurial-scm > hg-stable
diff contrib/check-py3-compat.py @ 41568:01417ca7f2e2
check-py3-compat: provide filename to ast.parse()
This ensures any warning/error messages print a valid filename instead of
potentially '<unknown>'.
Differential Revision: https://phab.mercurial-scm.org/D5844
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Mon, 04 Feb 2019 14:25:00 -0800 |
parents | 778dc37ce683 |
children | ba7eaff26474 |
line wrap: on
line diff