mirror of
https://github.com/git/git.git
synced 2024-06-14 03:06:51 +02:00
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>
This commit is contained in:
parent
dba1c9d9f2
commit
4d88519f6a
|
@ -3089,7 +3089,7 @@ def getLabels(self):
|
||||||
|
|
||||||
l = p4CmdList(["labels"] + ["%s..." % p for p in self.depotPaths])
|
l = p4CmdList(["labels"] + ["%s..." % p for p in self.depotPaths])
|
||||||
if len(l) > 0 and not self.silent:
|
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:
|
for output in l:
|
||||||
label = output["label"]
|
label = output["label"]
|
||||||
|
|
Loading…
Reference in New Issue