Skip to content
Snippets Groups Projects
  • Manuel Jacob's avatar
    7a13f6fa
    py3: use print as function · 7a13f6fa
    Manuel Jacob authored
    * run `find . -name "*.py" -print0 -o -path ./tests/hghave | xargs -I {} -0 2to3 --fix=print --write {}`
    * run `find . -name "*.py" -print0 -o -path ./tests/hghave | xargs -I {} -0 2to3 --doctests_only --fix=print --write {}`
    * remove extra newline at end of files introduced by last command
    * add `from __future__ import print_function` to Python files
    7a13f6fa
    History
    py3: use print as function
    Manuel Jacob authored
    * run `find . -name "*.py" -print0 -o -path ./tests/hghave | xargs -I {} -0 2to3 --fix=print --write {}`
    * run `find . -name "*.py" -print0 -o -path ./tests/hghave | xargs -I {} -0 2to3 --doctests_only --fix=print --write {}`
    * remove extra newline at end of files introduced by last command
    * add `from __future__ import print_function` to Python files