summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac/MiniAEFrame.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-30 18:11:48 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-30 18:11:48 (GMT)
commit6cd2a2036db68874bdf66502f38f33c1824c9e65 (patch)
tree6cfebd3814871545d7c69ba5ba143d843127be9f /Lib/plat-mac/MiniAEFrame.py
parentb9678e71f32d0df8a7a3adfff4be09fe748dc786 (diff)
downloadcpython-6cd2a2036db68874bdf66502f38f33c1824c9e65.zip
cpython-6cd2a2036db68874bdf66502f38f33c1824c9e65.tar.gz
cpython-6cd2a2036db68874bdf66502f38f33c1824c9e65.tar.bz2
Kill more lingering string exceptions in Lib/plat-mac/.
Diffstat (limited to 'Lib/plat-mac/MiniAEFrame.py')
-rw-r--r--Lib/plat-mac/MiniAEFrame.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/plat-mac/MiniAEFrame.py b/Lib/plat-mac/MiniAEFrame.py
index 8e551a5..eed7428 100644
--- a/Lib/plat-mac/MiniAEFrame.py
+++ b/Lib/plat-mac/MiniAEFrame.py
@@ -141,7 +141,8 @@ class AEServer:
elif ('****', '****') in self.ae_handlers:
_function = self.ae_handlers[('****', '****')]
else:
- raise 'Cannot happen: AE callback without handler', (_class, _type)
+ raise RuntimeError('AE callback without handler: '
+ + str((_class, _type)))
# XXXX Do key-to-name mapping here