Skip to content

Commit

Permalink
Re-added version func
Browse files Browse the repository at this point in the history
  • Loading branch information
carlashley committed Oct 30, 2016
1 parent ca8f3db commit bb9009b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions precache.py
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,8 @@ def _get_default_metavar_for_optional(self, action):

if args.cache_server:
cache_srv = args.cache_server[0]
p = PreCache(cache_server=cache_srv, log_level=level, dry_run=dry)
p = PreCache(cache_server=cache_srv,
log_level=level, dry_run=dry)
else:
p = PreCache(cache_server=None, log_level=level, dry_run=dry)

Expand All @@ -1024,7 +1025,8 @@ def _get_default_metavar_for_optional(self, action):
p.cache_assets(group=args.cache_group)

if args.cache_ipsw_group:
p.cache_ipsw(group=args.cache_ipsw_group, store_in=download_dir)
p.cache_ipsw(group=args.cache_ipsw_group,
store_in=download_dir)

if args.ipsw_model:
p.cache_ipsw(model=args.ipsw_model, store_in=download_dir)
Expand Down

0 comments on commit bb9009b

Please sign in to comment.