commit | d8d179d69d46a07923ad07b70a2d5f5e57f8030a | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Wed Sep 22 15:45:51 1999 +0000 |
committer | Barry Warsaw <barry@python.org> | Wed Sep 22 15:45:51 1999 +0000 |
tree | 7571e88e8d24f2c88a8d8ee4b4e8e9393abce4f2 | |
parent | da2d352bdb540cc07969a7321e3632d588e0e769 [diff] |
main(): wrap the device.setinfo() call around an exception handler. It's possible to get a sunaudiodev.error (errno == EINVAL), although I'm not exactly sure why, this at least won't crash the application.