]> git.ipfire.org Git - thirdparty/git.git/commitdiff
git-p4: python3: remove backticks
authorLuke Diamand <luke@diamand.org>
Tue, 19 Jun 2018 08:04:08 +0000 (09:04 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 19 Jun 2018 16:34:32 +0000 (09:34 -0700)
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>
git-p4.py

index 6fcad3510461542fc36b51c3d71aab5a540bdc6d..67865d14aa62896794827264c149232b8ab8b68b 100755 (executable)
--- 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"]