autoupdate: separate store from runner

This commit is contained in:
Anthony Sottile 2018-06-29 20:04:16 -07:00
parent 8f2c3cfea7
commit 0e430be0ce
3 changed files with 42 additions and 54 deletions

View file

@ -248,7 +248,7 @@ def main(argv=None):
if args.tags_only:
logger.warning('--tags-only is the default')
return autoupdate(
runner,
runner, runner.store,
tags_only=not args.bleeding_edge,
repos=args.repos,
)