Skip to content
Snippets Groups Projects
Commit f22badbf authored by Sebastien Luttringer's avatar Sebastien Luttringer
Browse files

no_cache is not optional

parent d5dd5a61
No related branches found
No related tags found
No related merge requests found
......@@ -34,7 +34,7 @@ def load_repositories(args):
Load repositories on a repository manager
'''
# remove cache is asked
if hasattr(args, "no_cache") and args.no_cache:
if args.no_cache:
args.cache = None
# split filter in list
args.repo_filter = Repository.split_repository_list(args.repo_filter)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment