diff --git a/git-p4.py b/git-p4.py index 8fbf6eb1fe..1de3d6f1cd 100755 --- a/git-p4.py +++ b/git-p4.py @@ -2226,7 +2226,7 @@ class P4Submit(Command, P4UserMap): raw=True): if regexp.search(line): if verbose: - print("got keyword match on %s in %s in %s" % (regex.pattern, line, file)) + print("got keyword match on %s in %s in %s" % (regexp.pattern, line, file)) kwfiles[file] = regexp break