From 4d88519f6a2c7ea170f239a638137ce26d39cb11 Mon Sep 17 00:00:00 2001 From: Luke Diamand Date: Tue, 19 Jun 2018 09:04:08 +0100 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- git-p4.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ def getLabels(self): 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"]