aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2017-07-18 13:14:25 -0700
committerBrian Dolbec <dolsen@gentoo.org>2017-07-18 13:15:02 -0700
commitcf6769792d8334e6302a082350d5cf411ff4f3f7 (patch)
treec254ab518aec4ebfc0b08cd0c5d5f4fc156a977e
parentmain.py: fix isinstance(hosts[i], bytes) (diff)
downloadmirrorselect-cf6769792d8334e6302a082350d5cf411ff4f3f7.tar.gz
mirrorselect-cf6769792d8334e6302a082350d5cf411ff4f3f7.tar.bz2
mirrorselect-cf6769792d8334e6302a082350d5cf411ff4f3f7.zip
main.py: Remove obsolete 'SYNC' option2.2.3
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
-rwxr-xr-xmirrorselect/main.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/mirrorselect/main.py b/mirrorselect/main.py
index 4858875..04698f3 100755
--- a/mirrorselect/main.py
+++ b/mirrorselect/main.py
@@ -101,10 +101,7 @@ class MirrorSelect(object):
SYNC and GENTOO_MIRRORS make.conf variable target
"""
if sync:
- if 'repos.conf' in config_path:
- var = "sync-uri"
- else:
- var = 'SYNC'
+ var = "sync-uri"
else:
var = 'GENTOO_MIRRORS'