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

Commit b6fc152

Browse files
committed
Fix wrong variable names from review
1 parent 25ccf6d commit b6fc152

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
@@ -611,7 +611,7 @@ def parse_config_files(path, bump, filemanager, version):
611611
# Read values from options.conf (and deprecated files) and rewrite as necessary
612612
read_config_opts(path)
613613

614-
if not git_pull_uri:
614+
if not git_push_uri:
615615
print("Warning: Set [autospec][git] upstream template for remote git URI configuration")
616616
if not license_fetch:
617617
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)