<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Sat, May 4, 2013 at 5:05 PM, Dan Smith <span dir="ltr"><<a href="mailto:dsmith@danplanet.com" target="_blank">dsmith@danplanet.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> How would I go about getting the 'image_version' and 'radio_version'<br>
> to display within this error message?<br>
<br>
</div>Might be cleanest to separate out the building of the string from the<br>
raise. Something like:<br>
<br>
msg = ("Upload finished, but the 'Other Settings' "<br>
<div class="im"> "could not be sent because the firmware "<br>
</div> "version of the image (%s) does not match "<br>
"that of the radio (%s).")<br>
raise errors.RadioError(msg % (image_version, radio_version))<br>
<span class="HOEnZb"><font color="#888888"></font></span><br></blockquote></div>Slick. Just what I was looking for.<br>Jim<br></div></div>