commit:     cf6769792d8334e6302a082350d5cf411ff4f3f7
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 18 20:14:25 2017 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Tue Jul 18 20:15:02 2017 +0000
URL:        https://gitweb.gentoo.org/proj/mirrorselect.git/commit/?id=cf676979

main.py: Remove obsolete 'SYNC' option

Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>

 mirrorselect/main.py | 5 +----
 1 file changed, 1 insertion(+), 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'
 

Reply via email to