Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mirrorselect:master commit in: /, bin/, mirrorselect/
Date: Thu, 23 Jun 2022 19:28:15
Message-Id: 1656012417.9afa1720b0c155a9120bd76f26de89aed4d32487.dolsen@gentoo
1 commit: 9afa1720b0c155a9120bd76f26de89aed4d32487
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 23 19:26:57 2022 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 23 19:26:57 2022 +0000
6 URL: https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=9afa1720
7
8 Some py2 compat. cleanup
9
10 Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>
11
12 bin/mirrorselect | 4 ----
13 mirrorselect/mirrorparser3.py | 2 +-
14 setup.py | 2 --
15 3 files changed, 1 insertion(+), 7 deletions(-)
16
17 diff --git a/bin/mirrorselect b/bin/mirrorselect
18 index b14dd26..bcdd73f 100755
19 --- a/bin/mirrorselect
20 +++ b/bin/mirrorselect
21 @@ -29,10 +29,6 @@ Distributed under the terms of the GNU General Public License v2
22
23 """
24
25 -from __future__ import print_function
26 -
27 -
28 -
29
30 import sys
31
32
33 diff --git a/mirrorselect/mirrorparser3.py b/mirrorselect/mirrorparser3.py
34 index c9349cb..089f949 100644
35 --- a/mirrorselect/mirrorparser3.py
36 +++ b/mirrorselect/mirrorparser3.py
37 @@ -1,4 +1,4 @@
38 -#!/usr/bin/python
39 +#!/usr/bin/env python
40 # coding: utf-8
41
42 """Mirrorselect 2.x
43
44 diff --git a/setup.py b/setup.py
45 index 0d68f07..9111d5e 100755
46 --- a/setup.py
47 +++ b/setup.py
48 @@ -1,8 +1,6 @@
49 #!/usr/bin/env python
50 # coding: utf-8
51
52 -from __future__ import print_function
53 -
54
55 import logging
56 import re