aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2013-10-16 20:04:55 -0700
committerBrian Dolbec <dolsen@gentoo.org>2013-10-16 20:04:55 -0700
commitcad72683e6b2d347e0c45e98b9bd5a1807773838 (patch)
tree5b8e2316b1716c8fbac3f96001756563ca13363d
parentMake the -r -a options select only the rotation server rather than force -o f... (diff)
downloadmirrorselect-cad72683e6b2d347e0c45e98b9bd5a1807773838.tar.gz
mirrorselect-cad72683e6b2d347e0c45e98b9bd5a1807773838.tar.bz2
mirrorselect-cad72683e6b2d347e0c45e98b9bd5a1807773838.zip
remove unused unicode variable
-rwxr-xr-xmirrorselect/main.py6
-rw-r--r--mirrorselect/output.py6
2 files changed, 0 insertions, 12 deletions
diff --git a/mirrorselect/main.py b/mirrorselect/main.py
index 61fd5c2..ca7d794 100755
--- a/mirrorselect/main.py
+++ b/mirrorselect/main.py
@@ -62,12 +62,6 @@ if "GENTOO_PORTAGE_EPREFIX" in EPREFIX:
EPREFIX = ''
-if sys.hexversion >= 0x3000000:
- _unicode = str
-else:
- _unicode = unicode
-
-
class MirrorSelect(object):
'''Main operational class'''
diff --git a/mirrorselect/output.py b/mirrorselect/output.py
index 31aa984..5854000 100644
--- a/mirrorselect/output.py
+++ b/mirrorselect/output.py
@@ -37,12 +37,6 @@ import locale
from optparse import IndentedHelpFormatter
-if sys.hexversion >= 0x3000000:
- _unicode = str
-else:
- _unicode = unicode
-
-
def encoder(text, _encoding_):
return codecs.encode(text, _encoding_, 'replace')