git p4: fix bug when enabling tag import/export via config variables

Use Python's True, not true. Causes failure when enabling tag import or export in "git p4" using a config option rather than the command line. Signed-off-by: Luke Diamand <luke@diamand.org> Acked-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Luke Diamand committed May 11, 2012 at 07:25 UTC 06dcd152a81ccff5464c34ed95306196763c9e65
1 file changed +2 -2
git-p4.py
+2 -2
@@ -1400,7 +1400,7 @@ class P4Submit(Command, P4UserMap):
1400 rebase.rebase()
1401
1402 if gitConfig("git-p4.exportLabels", "--bool") == "true":
1403 - self.exportLabels = true
1403 + self.exportLabels = True
1404
1405 if self.exportLabels:
1406 p4Labels = getP4Labels(self.depotPath)
@@ -2675,7 +2675,7 @@ class P4Sync(Command, P4UserMap):
2675 sys.stdout.write("\n")
2676
2677 if gitConfig("git-p4.importLabels", "--bool") == "true":
2678 - self.importLabels = true
2678 + self.importLabels = True
2679
2680 if self.importLabels:
2681 p4Labels = getP4Labels(self.depotPaths)