py3k: Convert backticks to repr()

Backticks are no longer valid syntax for repr().
This commit is contained in:
Brian Crowell 2012-10-15 21:54:12 -05:00 committed by Brian Crowell
parent a453007651
commit f6fa0941fd
2 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ active: %s
settable: %s\n""" % (self.py_name, curValue,
self.index, self.title, self.desc,
TYPE_STR[self.type], UNIT_STR[self.unit],
`self.constraint`, active, settable)
repr(self.constraint), active, settable)
return s

View File

@ -483,7 +483,7 @@ class PILDriver:
self.push(list[0])
list = list[1:]
if self.verbose:
print("Stack: " + `self.stack`)
print("Stack: " + repr(self.stack))
top = self.top()
if type(top) != type(""):
continue;