Fix other reps

legacy27 3.6.6.2
Mike Hiretsky 4 years ago
parent 4456a88895
commit 4222f8d2cd

@ -343,8 +343,9 @@ class ReposConf(object):
config.read(conffile, encoding="utf-8")
for rep in config.sections():
if rep not in skip_reps:
location = config[rep]["location"]
if location:
location = config[rep].get("location")
synctype = config[rep].get("sync-type")
if location and synctype:
yield rep, location

Loading…
Cancel
Save