Skip to content

Commit

Permalink
Fix bugs in lock diff (#616)
Browse files Browse the repository at this point in the history
  • Loading branch information
psakievich authored Dec 20, 2024
1 parent 8dec871 commit 45134f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion manager/manager_cmds/lock_diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def setup_parser_args(subparser):
"--skip-package-diffs",
"-s",
nargs="+",
default=[],
help="packages to skip package hash diffs",
required=False,
)
Expand Down Expand Up @@ -104,7 +105,7 @@ def old_vs_new(old_dict, new_dict):
diff_msg += "package hash change - Old: {} New: {}".format(
old_spec.package_hash(), new_spec.package_hash()
)
if new_spec.name not in args.skip_package_diffs:
if spec.name not in args.skip_package_diffs:
unacceptable_changes = True
else:
# something else must have changed in concretization that
Expand Down

0 comments on commit 45134f6

Please sign in to comment.