From f6fa0941fde3b983d1ac4255dabd107a483afc31 Mon Sep 17 00:00:00 2001 From: Brian Crowell Date: Mon, 15 Oct 2012 21:54:12 -0500 Subject: [PATCH] py3k: Convert backticks to repr() Backticks are no longer valid syntax for repr(). --- Sane/sane.py | 2 +- Scripts/pildriver.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sane/sane.py b/Sane/sane.py index 0a70073e5..387435b57 100644 --- a/Sane/sane.py +++ b/Sane/sane.py @@ -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 diff --git a/Scripts/pildriver.py b/Scripts/pildriver.py index ed3e5b4fe..980919288 100644 --- a/Scripts/pildriver.py +++ b/Scripts/pildriver.py @@ -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;