From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/catalyst:master commit in: bin/, doc/, /, catalyst/
Date: Sat, 28 Mar 2020 20:07:06 +0000 (UTC) [thread overview]
Message-ID: <1585380926.8f86a7f6e890b03ac24a94d567df79a64ccf9e74.mattst88@gentoo> (raw)
commit: 8f86a7f6e890b03ac24a94d567df79a64ccf9e74
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 28 07:02:37 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sat Mar 28 07:35:26 2020 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=8f86a7f6
catalyst: Remove unnecessary future imports
Catalyst has been python 3-only for a while.
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
bin/catalyst | 2 --
bin/catalyst.git | 2 --
bin/pylint | 2 --
catalyst/log.py | 2 --
doc/make_target_table.py | 2 --
setup.py | 2 --
6 files changed, 12 deletions(-)
diff --git a/bin/catalyst b/bin/catalyst
index d3448fd8..228a913e 100755
--- a/bin/catalyst
+++ b/bin/catalyst
@@ -1,7 +1,5 @@
#!/usr/bin/python -OO
-from __future__ import print_function
-
import sys
# This block ensures that ^C interrupts are handled quietly.
diff --git a/bin/catalyst.git b/bin/catalyst.git
index eb6234b9..733ade15 100755
--- a/bin/catalyst.git
+++ b/bin/catalyst.git
@@ -5,8 +5,6 @@
"""Run catalyst from git using local modules/scripts."""
-from __future__ import print_function
-
import os
import sys
import tempfile
diff --git a/bin/pylint b/bin/pylint
index b0018278..6c718134 100755
--- a/bin/pylint
+++ b/bin/pylint
@@ -4,8 +4,6 @@
"""Run pylint with the right settings."""
-from __future__ import print_function
-
import os
import sys
diff --git a/catalyst/log.py b/catalyst/log.py
index d640dece..7956c28f 100644
--- a/catalyst/log.py
+++ b/catalyst/log.py
@@ -8,8 +8,6 @@ another level "notice" between warning & info, and all output goes through
the "catalyst" logger.
"""
-from __future__ import print_function
-
import logging
import logging.handlers
import os
diff --git a/doc/make_target_table.py b/doc/make_target_table.py
index c4b49ad9..d1f97c9b 100755
--- a/doc/make_target_table.py
+++ b/doc/make_target_table.py
@@ -8,8 +8,6 @@
# source the testpath file then run "doc/make_target_table.py"
-from __future__ import print_function
-
import glob
import locale
import os
diff --git a/setup.py b/setup.py
index c6b52dcf..c6553b5d 100755
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,6 @@
#!/usr/bin/env python
"""Catalyst is a release building tool used by Gentoo Linux"""
-from __future__ import print_function
-
import codecs as _codecs
from distutils.core import setup as _setup, Command as _Command
from email.utils import parseaddr as _parseaddr
reply other threads:[~2020-03-28 20:07 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1585380926.8f86a7f6e890b03ac24a94d567df79a64ccf9e74.mattst88@gentoo \
--to=mattst88@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox