summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-04-23 11:34:39 (GMT)
committerGuido van Rossum <guido@python.org>1992-04-23 11:34:39 (GMT)
commita3cd071e4c105d672ff8719e84f509e8b1d8bd35 (patch)
tree31fd5ee733aa23d777ae969c8582b5ee9c449cf3 /Lib
parent58230c3a0585b1f52500109b46aaf3cd5f7b34eb (diff)
downloadcpython-a3cd071e4c105d672ff8719e84f509e8b1d8bd35.zip
cpython-a3cd071e4c105d672ff8719e84f509e8b1d8bd35.tar.gz
cpython-a3cd071e4c105d672ff8719e84f509e8b1d8bd35.tar.bz2
DISK is written with a K
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/irix5/readcd.py4
-rwxr-xr-xLib/plat-irix5/readcd.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/irix5/readcd.py b/Lib/irix5/readcd.py
index b4da9b8..354d372 100755
--- a/Lib/irix5/readcd.py
+++ b/Lib/irix5/readcd.py
@@ -172,9 +172,9 @@ class Readcd():
def cachestatus(self):
self.status = self.player.getstatus()
- if self.status[0] == CD.NODISK:
+ if self.status[0] == CD.NODISC:
self.status = None
- raise Error, 'no disk in player'
+ raise Error, 'no disc in player'
def getstatus(self):
return self.player.getstatus()
diff --git a/Lib/plat-irix5/readcd.py b/Lib/plat-irix5/readcd.py
index b4da9b8..354d372 100755
--- a/Lib/plat-irix5/readcd.py
+++ b/Lib/plat-irix5/readcd.py
@@ -172,9 +172,9 @@ class Readcd():
def cachestatus(self):
self.status = self.player.getstatus()
- if self.status[0] == CD.NODISK:
+ if self.status[0] == CD.NODISC:
self.status = None
- raise Error, 'no disk in player'
+ raise Error, 'no disc in player'
def getstatus(self):
return self.player.getstatus()