From 70a6b49821a3226f55e9716f32d802d06640cb89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Thu, 12 Feb 2004 17:35:32 +0000 Subject: Replace backticks with repr() or "%r" From SF patch #852334. --- Lib/plat-irix6/flp.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/plat-irix6/flp.py') diff --git a/Lib/plat-irix6/flp.py b/Lib/plat-irix6/flp.py index 6530487b07..aa231070a4 100644 --- a/Lib/plat-irix6/flp.py +++ b/Lib/plat-irix6/flp.py @@ -145,7 +145,7 @@ def freeze(filename): forms = parse_forms(filename) altforms = _pack_cache(forms) print 'import flp' - print 'flp._internal_cache[', `filename`, '] =', altforms + print 'flp._internal_cache[', repr(filename), '] =', altforms # # Internal: create the data structure to be placed in the cache @@ -416,7 +416,7 @@ def _select_crfunc(fm, cl): elif cl == FL.TEXT: return fm.add_text elif cl == FL.TIMER: return fm.add_timer else: - raise error, 'Unknown object type: ' + `cl` + raise error, 'Unknown object type: %r' % (cl,) def test(): -- cgit v1.2.1