[chirp_devel] How Would I Display 'image_version' and 'radio_version'?
Dan Smith
Sat May 4 14:05:51 PDT 2013
> How would I go about getting the 'image_version' and 'radio_version'
> to display within this error message?
Might be cleanest to separate out the building of the string from the
raise. Something like:
msg = ("Upload finished, but the 'Other Settings' "
"could not be sent because the firmware "
"version of the image (%s) does not match "
"that of the radio (%s).")
raise errors.RadioError(msg % (image_version, radio_version))
--
Dan Smith
www.danplanet.com
KK7DS
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130504/e07f9c16/attachment-0001.bin
More information about the chirp_devel
mailing list