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/distutils/cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Lib/distutils/cmd.py') diff --git a/Lib/distutils/cmd.py b/Lib/distutils/cmd.py index 6e44221eb5..fef49390da 100644 --- a/Lib/distutils/cmd.py +++ b/Lib/distutils/cmd.py @@ -253,8 +253,8 @@ class Command: if not ok: raise DistutilsOptionError, \ - "'%s' must be a list of strings (got %s)" % \ - (option, `val`) + "'%s' must be a list of strings (got %r)" % \ + (option, val) def _ensure_tested_string (self, option, tester, what, error_fmt, default=None): -- cgit v1.2.1