aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2022-06-23 12:26:57 -0700
committerBrian Dolbec <dolsen@gentoo.org>2022-06-23 12:26:57 -0700
commit9afa1720b0c155a9120bd76f26de89aed4d32487 (patch)
treeaded7b9b15d8bd9421ffaf6134698f7ac696e869
parentsetup.py: Fix logging in set_version (diff)
downloadmirrorselect-9afa1720b0c155a9120bd76f26de89aed4d32487.tar.gz
mirrorselect-9afa1720b0c155a9120bd76f26de89aed4d32487.tar.bz2
mirrorselect-9afa1720b0c155a9120bd76f26de89aed4d32487.zip
Some py2 compat. cleanup
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
-rwxr-xr-xbin/mirrorselect4
-rw-r--r--mirrorselect/mirrorparser3.py2
-rwxr-xr-xsetup.py2
3 files changed, 1 insertions, 7 deletions
diff --git a/bin/mirrorselect b/bin/mirrorselect
index b14dd26..bcdd73f 100755
--- a/bin/mirrorselect
+++ b/bin/mirrorselect
@@ -29,10 +29,6 @@ Distributed under the terms of the GNU General Public License v2
"""
-from __future__ import print_function
-
-
-
import sys
diff --git a/mirrorselect/mirrorparser3.py b/mirrorselect/mirrorparser3.py
index c9349cb..089f949 100644
--- a/mirrorselect/mirrorparser3.py
+++ b/mirrorselect/mirrorparser3.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
# coding: utf-8
"""Mirrorselect 2.x
diff --git a/setup.py b/setup.py
index 0d68f07..9111d5e 100755
--- a/setup.py
+++ b/setup.py
@@ -1,8 +1,6 @@
#!/usr/bin/env python
# coding: utf-8
-from __future__ import print_function
-
import logging
import re