summaryrefslogtreecommitdiffstats
path: root/Lib/aifc.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/aifc.py')
-rw-r--r--Lib/aifc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/aifc.py b/Lib/aifc.py
index 0275e42..781d77c 100644
--- a/Lib/aifc.py
+++ b/Lib/aifc.py
@@ -392,7 +392,7 @@ class Aifc_read:
for marker in self._markers:
if id == marker[0]:
return marker
- raise Error, 'marker ' + `id` + ' does not exist'
+ raise Error, 'marker %r does not exist' % (id,)
def setpos(self, pos):
if pos < 0 or pos > self._nframes:
@@ -697,7 +697,7 @@ class Aifc_write:
for marker in self._markers:
if id == marker[0]:
return marker
- raise Error, 'marker ' + `id` + ' does not exist'
+ raise Error, 'marker %r does not exist' % (id,)
def getmarkers(self):
if len(self._markers) == 0: