diff options
Diffstat (limited to 'Lib/plat-mac/Carbon/MediaDescr.py')
-rw-r--r-- | Lib/plat-mac/Carbon/MediaDescr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plat-mac/Carbon/MediaDescr.py b/Lib/plat-mac/Carbon/MediaDescr.py index 254634b..4a40062 100644 --- a/Lib/plat-mac/Carbon/MediaDescr.py +++ b/Lib/plat-mac/Carbon/MediaDescr.py @@ -15,7 +15,7 @@ class _MediaDescriptionCodec: data = data[:self.size] values = struct.unpack(self.fmt, data) if len(values) != len(self.names): - raise Error, ('Format length does not match number of names', descr) + raise Error('Format length does not match number of names', descr) rv = {} for i in range(len(values)): name = self.names[i] |