[entropy.core.settings.base] fix regression in packages.db.mirrors mirrors list parsing

This commit is contained in:
Fabio Erculiani
2011-02-02 12:30:05 +01:00
parent 61f4189088
commit f349932ae2
+1 -1
View File
@@ -1359,7 +1359,7 @@ class SystemSettings(Singleton, EntropyPluginStore):
etpConst['etpdatabasemirrorsfile'])
raw_mirrors = []
if not (os.path.isfile(mirrors_file) and \
if (os.path.isfile(mirrors_file) and \
os.access(mirrors_file, os.R_OK)):
raw_mirrors = entropy.tools.generic_file_content_parser(
mirrors_file)