Skip to content

Commit

Permalink
Update src/rez/package_cache.py
Browse files Browse the repository at this point in the history
Co-authored-by: Jean-Christophe Morin <38703886+JeanChristopheMorinPerso@users.noreply.github.com>
Signed-off-by: Ben Andersen <156872503+isohedronpipeline@users.noreply.github.com>
  • Loading branch information
1 parent 1c6c94b commit a5997b9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/rez/package_cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,7 @@ def add_variant(self, variant, force=False, wait_for_copying=False, logger=None)
else:
# Status has changed, so report the change and return
if logger:
if status in no_op_statuses:
logger.warning(f"{variant.qualified_name} "
f"{self.STATUS_DESCRIPTIONS[status]}")
elif status == self.VARIANT_FOUND:
if status == self.VARIANT_FOUND:
# We have resolved into a satisfactory state
logger.info(f"{variant.qualified_name} "
f"{self.STATUS_DESCRIPTIONS[status]}")
Expand Down

0 comments on commit a5997b9

Please sign in to comment.