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

Tom Hayward
Fri Jul 15 11:32:42 PDT 2011


Re: http://trac.chirp.danplanet.com/trac/ticket/128 IndexError bug

I said this bug was fixed in changeset:924, but it was actually just
masked. If no ports are found, the IndexError still occurs.

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.

Tom KD7LXL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-clone-read-empty-ports-list.patch
Type: application/octet-stream
Size: 661 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20110715/63f5f28c/attachment-0001.obj 


More information about the chirp_devel mailing list