Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 716b2fe

Browse files
committed
Fix wrong variable names from review
1 parent 0a901ec commit 716b2fe

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

autospec/config.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ def parse_config_files(path, bump, filemanager, version):
613613
# Read values from options.conf (and deprecated files) and rewrite as necessary
614614
read_config_opts(path)
615615

616-
if not git_pull_uri:
616+
if not git_push_uri:
617617
print("Warning: Set [autospec][git] upstream template for remote git URI configuration")
618618
if not license_fetch:
619619
print("Warning: Set [autospec][license_fetch] uri for license fetch support")

autospec/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def commit_to_git(path):
4242
call("git remote add origin %s" % upstream_uri, cwd=path)
4343
push_uri = config.git_push_uri % {'NAME': tarball.name}
4444
if push_uri != upstream_uri:
45-
call("git remote set-url origin --push %s" % upstream_uri, cwd=path)
45+
call("git remote set-url origin --push %s" % push_uri, cwd=path)
4646

4747
for config_file in config.config_files:
4848
call("git add %s" % config_file, cwd=path, check=False)

0 commit comments

Comments
 (0)