mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
DISK is written with a K
This commit is contained in:
parent
58230c3a05
commit
a3cd071e4c
2 changed files with 4 additions and 4 deletions
|
@ -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()
|
||||
|
|
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue