summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-11-12 18:38:41 +0100
committerGuido Günther <agx@sigxcpu.org>2017-11-12 18:38:41 +0100
commit758908b3b08cd94d412b3d146d7be9bb1256dc25 (patch)
tree815dd8cbf8af210d71ee228e8ce3223832913906
parentff03bec0707b4566a4f0e0228a942c1ceedab662 (diff)
print is a function in Python3
Gbp-Dch: Ignore
-rwxr-xr-xexamples/gbp-add-patch1
-rw-r--r--gbp/deb/changelog.py2
-rw-r--r--gbp/scripts/create_remote_repo.py2
-rw-r--r--gbp/scripts/dch.py2
-rw-r--r--gbp/scripts/supercommand.py2
-rw-r--r--tests/09_test_git_repository.py2
6 files changed, 0 insertions, 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: <bugs>
Thanks: <author>
"""
-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 @@
# <http://www.gnu.org/licenses/>
"""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 @@
# <http://www.gnu.org/licenses/>
"""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