Skip to content

Commit e4960a5

Browse files
committed
Fix undefined variable names
Reported-by: Christian Clauss <[email protected]> Signed-off-by: Elijah Newren <[email protected]>
1 parent ed6f410 commit e4960a5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

git-filter-repo

+1-1
Original file line numberDiff line numberDiff line change
@@ -3516,7 +3516,7 @@ class RepoFilter(object):
35163516
contents = subproc.check_output(cmd)
35173517
except subprocess.CalledProcessError as e: # pragma: no cover
35183518
raise SystemExit(_("Failed loading %s from %s") %
3519-
(decode(marks_basename), branch))
3519+
(decode(marks_basename), full_branch))
35203520
if contents:
35213521
biggest_id = max(int(x.split()[0][1:]) for x in contents.splitlines())
35223522
_IDS._next_id = max(_IDS._next_id, biggest_id+1)

t/t9391/erroneous.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import git_filter_repo as fr
1010

1111
def handle_tag(tag):
12-
print("Decipher this: "+''.join(reversed(progress.message)))
12+
print("Tagger: "+''.join(tag.tagger_name))
1313

1414
args = fr.FilteringOptions.parse_args(['--force', '--tag-callback', 'pass'])
1515
filter = fr.RepoFilter(args, tag_callback = handle_tag)

0 commit comments

Comments
 (0)