Mercurial > kallithea
changeset 8225:4b68fbe195b6
py3: automatic migration with 2to3 -f future
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 06 Feb 2020 03:03:58 +0100 |
parents | e63bcce18fef |
children | 103bb1129d44 |
files | kallithea/bin/kallithea_api.py kallithea/bin/kallithea_cli_ishell.py kallithea/bin/kallithea_gist.py kallithea/bin/ldap_sync.py kallithea/lib/db_manage.py kallithea/lib/pidlock.py kallithea/lib/utils2.py kallithea/lib/vcs/utils/helpers.py kallithea/lib/vcs/utils/progressbar.py kallithea/tests/other/test_vcs_operations.py kallithea/tests/scripts/manual_test_concurrency.py kallithea/tests/scripts/manual_test_crawler.py scripts/docs-headings.py scripts/generate-ini.py scripts/logformat.py |
diffstat | 15 files changed, 0 insertions(+), 29 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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 <http://www.gnu.org/licenses/>. -from __future__ import print_function - import errno import os from multiprocessing.util import Finalize
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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
--- 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