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:
parent
d8957d6802
commit
c4eb6a6afd
|
@ -494,9 +494,8 @@ Version: %s''' % __version__
|
|||
try:
|
||||
device.setinfo(info)
|
||||
except sunaudiodev.error, (code, msg):
|
||||
if code == errno.EINVAL:
|
||||
pass
|
||||
raise
|
||||
if code <> errno.EINVAL:
|
||||
raise
|
||||
device.close()
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue