main(): Arg! I wasn't properly ignoring EINVAL; now only re-raise the

exception if code <> errno.EINVAL.  Jeremy this should fix your
problem.
This commit is contained in:
Barry Warsaw 1999-10-07 20:00:01 +00:00
parent d8957d6802
commit c4eb6a6afd
1 changed files with 2 additions and 3 deletions

View File

@ -494,8 +494,7 @@ Version: %s''' % __version__
try:
device.setinfo(info)
except sunaudiodev.error, (code, msg):
if code == errno.EINVAL:
pass
if code <> errno.EINVAL:
raise
device.close()