Kaydet (Commit) c4eb6a6a authored tarafından Barry Warsaw's avatar Barry Warsaw

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

exception if code <> errno.EINVAL.  Jeremy this should fix your
problem.
üst d8957d68
...@@ -494,8 +494,7 @@ Version: %s''' % __version__ ...@@ -494,8 +494,7 @@ 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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment