Skip to content

Commit

Permalink
minor variable rename
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsergio committed Jan 21, 2025
1 parent 53e1870 commit 812de7e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/update_dependencies.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,12 @@ def print_dependencies(proj_name, repo_path):
help="Remote branch, defaults to the main branch", required=False)

parser.add_argument('--sha1', metavar='<sha1, tag or branch>',
help="Sha tag or branch, defaults to latest", required=False)
help="Sha tag or branch, defaults to latest", dest='new_sha1', required=False)

args = parser.parse_args()

if args.print_dependency_versions:
print_dependencies(args.proj_name, args.repo_path)
elif args.dependency_name:
gh_utils.update_submodule(args.proj_name, args.dependency_name,
args.sha1, args.repo_path, args.remote, args.branch)
args.new_sha1, args.repo_path, args.remote, args.branch)

0 comments on commit 812de7e

Please sign in to comment.