git p4: fix bug when enabling tag import/export via config variables
[gitweb.git] / git-p4.py
index 1335e0b890ada08a5b0e8c450223940aa8f335d2..78ec9f8fb8a462027f25ae8e15e7a38543c79ef4 100755 (executable)
--- a/git-p4.py
+++ b/git-p4.py
@@ -1400,7 +1400,7 @@ def run(self, args):
             rebase.rebase()
 
         if gitConfig("git-p4.exportLabels", "--bool") == "true":
-            self.exportLabels = true
+            self.exportLabels = True
 
         if self.exportLabels:
             p4Labels = getP4Labels(self.depotPath)
@@ -2675,7 +2675,7 @@ def run(self, args):
                         sys.stdout.write("\n")
 
         if gitConfig("git-p4.importLabels", "--bool") == "true":
-            self.importLabels = true
+            self.importLabels = True
 
         if self.importLabels:
             p4Labels = getP4Labels(self.depotPaths)