git p4: fix bug when verbose enabled with tag export
[gitweb.git] / git-p4.py
index eab69590c4162f3e4a51c97819f2089a30247ec5..1335e0b890ada08a5b0e8c450223940aa8f335d2 100755 (executable)
--- a/git-p4.py
+++ b/git-p4.py
@@ -1257,7 +1257,7 @@ def exportGitTags(self, gitTags):
 
             if not m.match(name):
                 if verbose:
-                    print "tag %s does not match regexp %s" % (name, validTagRegexp)
+                    print "tag %s does not match regexp %s" % (name, validLabelRegexp)
                 continue
 
             # Get the p4 commit this corresponds to