summaryrefslogtreecommitdiff
path: root/git-p4.py
diff options
context:
space:
mode:
authorLibravatar Luke Diamand <luke@diamand.org>2018-06-19 09:04:08 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-19 09:34:32 -0700
commit4d88519f6a2c7ea170f239a638137ce26d39cb11 (patch)
tree92fa802b032229d6da143080bd111711972f7b4b /git-p4.py
parentgit-p4: python3: replace dict.has_key(k) with "k in dict" (diff)
downloadtgif-4d88519f6a2c7ea170f239a638137ce26d39cb11.tar.xz
git-p4: python3: remove backticks
Backticks around a variable are a deprecated alias for repr(). This has been removed in python3, so just use the string representation instead, which is equivalent. Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-p4.py')
-rwxr-xr-xgit-p4.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-p4.py b/git-p4.py
index 6fcad35104..67865d14aa 100755
--- a/git-p4.py
+++ b/git-p4.py
@@ -3089,7 +3089,7 @@ class P4Sync(Command, P4UserMap):
l = p4CmdList(["labels"] + ["%s..." % p for p in self.depotPaths])
if len(l) > 0 and not self.silent:
- print "Finding files belonging to labels in %s" % `self.depotPaths`
+ print("Finding files belonging to labels in %s" % self.depotPaths)
for output in l:
label = output["label"]