Skip to content

Commit

Permalink
Update src/rez/cli/pkg-cache.py
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Enriquez <alenrqz21@gmail.com>

Co-authored-by: Jean-Christophe Morin <38703886+JeanChristopheMorinPerso@users.noreply.github.com>
Signed-off-by: Jose Enriquez <1145623+Pixel-Minions@users.noreply.github.com>
  • Loading branch information
Pixel-Minions and JeanChristopheMorinPerso authored Oct 15, 2024
1 parent 8184494 commit 9a67b49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rez/cli/pkg-cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@ def add_variant(pkgcache, uri, opts):
sys.exit(1)

if opts.pkg_cache_mode == "async":
cache_mode = True
elif opts.pkg_cache_mode == "sync":
cache_mode = False
elif opts.pkg_cache_mode == "sync":
cache_mode = True
else:
cache_mode = not config.package_cache_async

Expand Down

0 comments on commit 9a67b49

Please sign in to comment.