Commit af952ba4 authored by Sébastien Luttringer's avatar Sébastien Luttringer

clean syntax in load_repositories

parent 12a7f65e
......@@ -61,9 +61,9 @@ def load_repositories(args):
# register repositories (order matter)
# load repo configs from command line
if args.repo_path != "":
path=args.repo_path), temp=True,
repoconf = RepositoryConfig(istools.smd5sum(args.repo_path)[:8],
repoman.register(repoconf, temp=True, nosync=args.no_sync)
# load repo configs from config
for repoconf in RepoConfigFile(args.repo_config).repos:
repoman.register(repoconf, nosync=args.no_sync)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment