Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/catalyst:master commit in: bin/, doc/, /, catalyst/
Date: Sat, 28 Mar 2020 20:07:10
Message-Id: 1585380926.8f86a7f6e890b03ac24a94d567df79a64ccf9e74.mattst88@gentoo
1 commit: 8f86a7f6e890b03ac24a94d567df79a64ccf9e74
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 28 07:02:37 2020 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 28 07:35:26 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=8f86a7f6
7
8 catalyst: Remove unnecessary future imports
9
10 Catalyst has been python 3-only for a while.
11
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 bin/catalyst | 2 --
15 bin/catalyst.git | 2 --
16 bin/pylint | 2 --
17 catalyst/log.py | 2 --
18 doc/make_target_table.py | 2 --
19 setup.py | 2 --
20 6 files changed, 12 deletions(-)
21
22 diff --git a/bin/catalyst b/bin/catalyst
23 index d3448fd8..228a913e 100755
24 --- a/bin/catalyst
25 +++ b/bin/catalyst
26 @@ -1,7 +1,5 @@
27 #!/usr/bin/python -OO
28
29 -from __future__ import print_function
30 -
31 import sys
32
33 # This block ensures that ^C interrupts are handled quietly.
34
35 diff --git a/bin/catalyst.git b/bin/catalyst.git
36 index eb6234b9..733ade15 100755
37 --- a/bin/catalyst.git
38 +++ b/bin/catalyst.git
39 @@ -5,8 +5,6 @@
40
41 """Run catalyst from git using local modules/scripts."""
42
43 -from __future__ import print_function
44 -
45 import os
46 import sys
47 import tempfile
48
49 diff --git a/bin/pylint b/bin/pylint
50 index b0018278..6c718134 100755
51 --- a/bin/pylint
52 +++ b/bin/pylint
53 @@ -4,8 +4,6 @@
54
55 """Run pylint with the right settings."""
56
57 -from __future__ import print_function
58 -
59 import os
60 import sys
61
62
63 diff --git a/catalyst/log.py b/catalyst/log.py
64 index d640dece..7956c28f 100644
65 --- a/catalyst/log.py
66 +++ b/catalyst/log.py
67 @@ -8,8 +8,6 @@ another level "notice" between warning & info, and all output goes through
68 the "catalyst" logger.
69 """
70
71 -from __future__ import print_function
72 -
73 import logging
74 import logging.handlers
75 import os
76
77 diff --git a/doc/make_target_table.py b/doc/make_target_table.py
78 index c4b49ad9..d1f97c9b 100755
79 --- a/doc/make_target_table.py
80 +++ b/doc/make_target_table.py
81 @@ -8,8 +8,6 @@
82 # source the testpath file then run "doc/make_target_table.py"
83
84
85 -from __future__ import print_function
86 -
87 import glob
88 import locale
89 import os
90
91 diff --git a/setup.py b/setup.py
92 index c6b52dcf..c6553b5d 100755
93 --- a/setup.py
94 +++ b/setup.py
95 @@ -1,8 +1,6 @@
96 #!/usr/bin/env python
97 """Catalyst is a release building tool used by Gentoo Linux"""
98
99 -from __future__ import print_function
100 -
101 import codecs as _codecs
102 from distutils.core import setup as _setup, Command as _Command
103 from email.utils import parseaddr as _parseaddr