Mercurial > public > mercurial-scm > hg
comparison contrib/check-py3-compat.py @ 32367:a9c71d578a1c
osutil: switch to policy importer
"make clean" is recommended to test this change, though C API compatibility
should be preserved.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 12 Aug 2016 11:35:17 +0900 |
parents | 9b81fb217820 |
children | 008d37c4d783 |
comparison
equal
deleted
inserted
replaced
32366:8e0327dae3f4 | 32367:a9c71d578a1c |
---|---|
19 _dualmodules = ( | 19 _dualmodules = ( |
20 'base85.py', | 20 'base85.py', |
21 'bdiff.py', | 21 'bdiff.py', |
22 'diffhelpers.py', | 22 'diffhelpers.py', |
23 'mpatch.py', | 23 'mpatch.py', |
24 'osutil.py', | |
25 'parsers.py', | 24 'parsers.py', |
26 ) | 25 ) |
27 | 26 |
28 def check_compat_py2(f): | 27 def check_compat_py2(f): |
29 """Check Python 3 compatibility for a file with Python 2""" | 28 """Check Python 3 compatibility for a file with Python 2""" |