[chirp_devel] [PATCH] Fix clone.py to not attempt to read empty ports list.

Dan Smith
Fri Jul 15 11:38:12 PDT 2011


> I intended to fix this by displaying an error dialog when no ports
> were auto-detected, but decided to fail quietly instead. The user
> still has the option to manually type a port location. With this
> patch, CHIRP handles an empty serial port list without error. The fix
> prevents CHIRP from blindly attempting to read from an empty list.

I agree with the logic. Some new driver writer on OSX could (AFAICT) 
decide to call their device /dev/usbthingy and we'd hate to lock out 
users from using that if needed.

Thanks, applied!

-- 
Dan Smith
www.danplanet.com
KK7DS



More information about the chirp_devel mailing list