py3: make files use absolute_import and print_function
This patch includes addition of absolute_import and print_function to the files where they are missing. The modern importing conventions are also followed.
Showing
- hgext/highlight/__init__.py 15 additions, 3 deletionshgext/highlight/__init__.py
- hgext/highlight/highlight.py 18 additions, 5 deletionshgext/highlight/highlight.py
- hgext/share.py 15 additions, 3 deletionshgext/share.py
- hgext/win32text.py 9 additions, 3 deletionshgext/win32text.py
- i18n/polib.py 2 additions, 0 deletionsi18n/polib.py
- tests/heredoctest.py 1 addition, 1 deletiontests/heredoctest.py
- tests/md5sum.py 8 additions, 3 deletionstests/md5sum.py
- tests/readlink.py 4 additions, 2 deletionstests/readlink.py
- tests/run-tests.py 12 additions, 10 deletionstests/run-tests.py
- tests/test-check-py3-compat.t 0 additions, 9 deletionstests/test-check-py3-compat.t
- tests/test-commandserver.t 16 additions, 10 deletionstests/test-commandserver.t
- tests/test-generaldelta.t 2 additions, 1 deletiontests/test-generaldelta.t
- tests/test-hgweb-commands.t 2 additions, 1 deletiontests/test-hgweb-commands.t
- tests/test-import.t 2 additions, 1 deletiontests/test-import.t
- tests/test-status.t 2 additions, 1 deletiontests/test-status.t
- tests/test-unified-test.t 7 additions, 6 deletionstests/test-unified-test.t
Loading
Please register or sign in to comment