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:
|
try:
|
||||||
device.setinfo(info)
|
device.setinfo(info)
|
||||||
except sunaudiodev.error, (code, msg):
|
except sunaudiodev.error, (code, msg):
|
||||||
if code == errno.EINVAL:
|
if code <> errno.EINVAL:
|
||||||
pass
|
raise
|
||||||
raise
|
|
||||||
device.close()
|
device.close()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user