thearn/Python-Arduino-Command-API — pull request #13 by robotkid (2014-03-11 02:33:27+00:00)
Title: Catch OSError exception when accessing serial ports on OSX

My OSX 10.9 install was generating an OSError("Resource busy") when checking each serial port in find_port() - it seems to generate this error when trying to access the Bluetooth-related serial ports. I added OSError to the catch statement to allow these ports to be skipped.