From 758908b3b08cd94d412b3d146d7be9bb1256dc25 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sun, 12 Nov 2017 18:38:41 +0100 Subject: print is a function in Python3 Gbp-Dch: Ignore --- examples/gbp-add-patch | 1 - gbp/deb/changelog.py | 2 -- gbp/scripts/create_remote_repo.py | 2 -- gbp/scripts/dch.py | 2 -- gbp/scripts/supercommand.py | 2 -- tests/09_test_git_repository.py | 2 -- 6 files changed, 11 deletions(-) diff --git a/examples/gbp-add-patch b/examples/gbp-add-patch index 9a7cc0da..43c455ad 100755 --- a/examples/gbp-add-patch +++ b/examples/gbp-add-patch @@ -31,7 +31,6 @@ commits debian/patches/0010-bla-fasel with this changelog message: Closes: Thanks: """ -from __future__ import print_function import re import sys diff --git a/gbp/deb/changelog.py b/gbp/deb/changelog.py index b5813693..bcda3f4c 100644 --- a/gbp/deb/changelog.py +++ b/gbp/deb/changelog.py @@ -16,8 +16,6 @@ # """A Debian Changelog""" -from __future__ import print_function - import email import os import subprocess diff --git a/gbp/scripts/create_remote_repo.py b/gbp/scripts/create_remote_repo.py index ee064e5b..16fc228e 100644 --- a/gbp/scripts/create_remote_repo.py +++ b/gbp/scripts/create_remote_repo.py @@ -18,8 +18,6 @@ # Based on the aa-create-git-repo and dom-new-git-repo shell scripts """Create a remote Git repository based on the current one""" -from __future__ import print_function - import sys import os import urllib diff --git a/gbp/scripts/dch.py b/gbp/scripts/dch.py index ef9ae6b8..f2cab82e 100644 --- a/gbp/scripts/dch.py +++ b/gbp/scripts/dch.py @@ -17,8 +17,6 @@ # """Generate Debian changelog entries from Git commit messages""" -from __future__ import print_function - import os.path import re import sys diff --git a/gbp/scripts/supercommand.py b/gbp/scripts/supercommand.py index 46b37ed7..3e5a6591 100644 --- a/gbp/scripts/supercommand.py +++ b/gbp/scripts/supercommand.py @@ -17,8 +17,6 @@ # """Supercommand for all gbp commands""" -from __future__ import print_function - import glob import os import re diff --git a/tests/09_test_git_repository.py b/tests/09_test_git_repository.py index 3f032470..ed487cee 100644 --- a/tests/09_test_git_repository.py +++ b/tests/09_test_git_repository.py @@ -7,8 +7,6 @@ Test things here that don't fit nicely into the doctests that also make up the API documentation. """ -from __future__ import print_function - from . import context # noqa: 401 from . import testutils -- cgit v1.2.3