# HG changeset patch # User Mads Kiilerich # Date 1580954638 -3600 # Node ID 4b68fbe195b6c7ff4bf680f2f25793662254bbbe # Parent e63bcce18fef89294e183c282232c28745328912 py3: automatic migration with 2to3 -f future diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/bin/kallithea_api.py --- a/kallithea/bin/kallithea_api.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/bin/kallithea_api.py Thu Feb 06 03:03:58 2020 +0100 @@ -25,8 +25,6 @@ :license: GPLv3, see LICENSE.md for more details. """ -from __future__ import print_function - import argparse import json import sys diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/bin/kallithea_cli_ishell.py --- a/kallithea/bin/kallithea_cli_ishell.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/bin/kallithea_cli_ishell.py Thu Feb 06 03:03:58 2020 +0100 @@ -20,8 +20,6 @@ :license: GPLv3, see LICENSE.md for more details. """ -from __future__ import print_function - import sys import kallithea.bin.kallithea_cli_base as cli_base diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/bin/kallithea_gist.py --- a/kallithea/bin/kallithea_gist.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/bin/kallithea_gist.py Thu Feb 06 03:03:58 2020 +0100 @@ -25,8 +25,6 @@ :license: GPLv3, see LICENSE.md for more details. """ -from __future__ import print_function - import argparse import fileinput import json diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/bin/ldap_sync.py --- a/kallithea/bin/ldap_sync.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/bin/ldap_sync.py Thu Feb 06 03:03:58 2020 +0100 @@ -25,8 +25,6 @@ :license: GPLv3, see LICENSE.md for more details. """ -from __future__ import print_function - import urllib.request import uuid from configparser import ConfigParser diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/lib/db_manage.py --- a/kallithea/lib/db_manage.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/lib/db_manage.py Thu Feb 06 03:03:58 2020 +0100 @@ -26,8 +26,6 @@ :license: GPLv3, see LICENSE.md for more details. """ -from __future__ import print_function - import logging import os import sys diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/lib/pidlock.py --- a/kallithea/lib/pidlock.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/lib/pidlock.py Thu Feb 06 03:03:58 2020 +0100 @@ -12,8 +12,6 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -from __future__ import print_function - import errno import os from multiprocessing.util import Finalize diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/lib/utils2.py --- a/kallithea/lib/utils2.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/lib/utils2.py Thu Feb 06 03:03:58 2020 +0100 @@ -27,8 +27,6 @@ :license: GPLv3, see LICENSE.md for more details. """ -from __future__ import print_function - import binascii import datetime import json diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/lib/vcs/utils/helpers.py --- a/kallithea/lib/vcs/utils/helpers.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/lib/vcs/utils/helpers.py Thu Feb 06 03:03:58 2020 +0100 @@ -1,7 +1,6 @@ """ Utilities aimed to help achieve mostly basic tasks. """ -from __future__ import division import datetime import os diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/lib/vcs/utils/progressbar.py --- a/kallithea/lib/vcs/utils/progressbar.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/lib/vcs/utils/progressbar.py Thu Feb 06 03:03:58 2020 +0100 @@ -1,7 +1,5 @@ # encoding: UTF-8 -from __future__ import print_function - import datetime import string import sys diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/tests/other/test_vcs_operations.py --- a/kallithea/tests/other/test_vcs_operations.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/tests/other/test_vcs_operations.py Thu Feb 06 03:03:58 2020 +0100 @@ -25,8 +25,6 @@ """ -from __future__ import print_function - import json import os import re diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/tests/scripts/manual_test_concurrency.py --- a/kallithea/tests/scripts/manual_test_concurrency.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/tests/scripts/manual_test_concurrency.py Thu Feb 06 03:03:58 2020 +0100 @@ -26,8 +26,6 @@ """ -from __future__ import print_function - import logging import os import shutil diff -r e63bcce18fef -r 4b68fbe195b6 kallithea/tests/scripts/manual_test_crawler.py --- a/kallithea/tests/scripts/manual_test_crawler.py Thu Feb 06 02:57:51 2020 +0100 +++ b/kallithea/tests/scripts/manual_test_crawler.py Thu Feb 06 03:03:58 2020 +0100 @@ -30,8 +30,6 @@ :license: GPLv3, see LICENSE.md for more details. """ -from __future__ import print_function - import http.cookiejar import os import sys diff -r e63bcce18fef -r 4b68fbe195b6 scripts/docs-headings.py --- a/scripts/docs-headings.py Thu Feb 06 02:57:51 2020 +0100 +++ b/scripts/docs-headings.py Thu Feb 06 03:03:58 2020 +0100 @@ -4,8 +4,6 @@ Consistent formatting of rst section titles """ -from __future__ import print_function - import re import subprocess diff -r e63bcce18fef -r 4b68fbe195b6 scripts/generate-ini.py --- a/scripts/generate-ini.py Thu Feb 06 02:57:51 2020 +0100 +++ b/scripts/generate-ini.py Thu Feb 06 03:03:58 2020 +0100 @@ -3,8 +3,6 @@ Based on kallithea/lib/paster_commands/template.ini.mako, generate development.ini """ -from __future__ import print_function - import re from kallithea.lib import inifile diff -r e63bcce18fef -r 4b68fbe195b6 scripts/logformat.py --- a/scripts/logformat.py Thu Feb 06 02:57:51 2020 +0100 +++ b/scripts/logformat.py Thu Feb 06 03:03:58 2020 +0100 @@ -1,7 +1,5 @@ #!/usr/bin/env python3 -from __future__ import print_function - import re import sys