summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix6/readcd.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/plat-irix6/readcd.py')
-rw-r--r--Lib/plat-irix6/readcd.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/plat-irix6/readcd.py b/Lib/plat-irix6/readcd.py
index 5c4b824..403353f 100644
--- a/Lib/plat-irix6/readcd.py
+++ b/Lib/plat-irix6/readcd.py
@@ -2,8 +2,10 @@
import cd, CD
-Error = 'Readcd.Error'
-_Stop = 'Readcd.Stop'
+class Error(Exception):
+ pass
+class _Stop(Exception):
+ pass
def _doatime(self, cb_type, data):
if ((data[0] * 60) + data[1]) * 75 + data[2] > self.end: