diff Tools/scripts/which.py @ 31515:71a294bd7950 legacy-trunk

Replace backticks with repr() or "%r" From SF patch #852334.
author Walter Dörwald <walter@livinglogic.de>
date Thu, 12 Feb 2004 17:35:32 +0000
parents 86c476a425a7
children 981fff7363b9
line wrap: on
line diff
--- a/Tools/scripts/which.py	Thu Feb 12 15:28:27 2004 +0000
+++ b/Tools/scripts/which.py	Thu Feb 12 17:35:32 2004 +0000
@@ -48,7 +48,7 @@
                 msg(filename + ': not executable')
         if longlist:
             sts = os.system('ls ' + longlist + ' ' + filename)
-            if sts: msg('"ls -l" exit status: ' + `sts`)
+            if sts: msg('"ls -l" exit status: ' + repr(sts))
     if not ident:
         msg(prog + ': not found')
         sts = 1