aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'mirrorselect/configs.py')
-rw-r--r--mirrorselect/configs.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/mirrorselect/configs.py b/mirrorselect/configs.py
index 2dd6cba..93b2108 100644
--- a/mirrorselect/configs.py
+++ b/mirrorselect/configs.py
@@ -138,12 +138,10 @@ def write_repos_conf(output, config_path, var, value):
" variable: %s\nChanges NOT SAVED" %var)
-def get_filesystem_mirrors(output, config_path, sync=False):
+def get_filesystem_mirrors(output, config_path):
"""Read the current mirrors and retain mounted filesystems mirrors
@param config_path: string
- @param sync: boolean, used to switch between SYNC and GENTOO_MIRRORS
- make.conf variable target
@rtype list
"""
@@ -158,10 +156,7 @@ def get_filesystem_mirrors(output, config_path, sync=False):
fsmirrors = []
- if sync:
- var = 'SYNC'
- else:
- var = 'GENTOO_MIRRORS'
+ var = 'GENTOO_MIRRORS'
output.write('get_filesystem_mirrors(): config_path = %s\n' % config_path, 2)
try: