Oooopsss.....tab and space mismatch corrected.

This commit is contained in:
Moshe Zadka 2000-08-04 15:25:58 +00:00
parent 413407f103
commit 92a69138b3
1 changed files with 2 additions and 2 deletions

View File

@ -10,8 +10,8 @@ def play_sound_file(path):
try:
a = linuxaudiodev.open('w')
except linuxaudiodev.error, msg:
if msg[0] in (errno.EACCES, errno.ENODEV):
raise TestSkipped, msg
if msg[0] in (errno.EACCES, errno.ENODEV):
raise TestSkipped, msg
raise TestFailed, msg
else:
a.write(data)