<div dir="ltr">Dear Tim,<div><br></div><div>I was looking through the upgrade_to_8.sh script and noticed you use the PYVERS function to check the version of the operating system. I wondered what the rationale was behind that? Could there be any cases where people who upgrade their python version pre-14.04 pass the test for 14.04 when they shouldn&#39;t?</div>
<div><br></div><div>Had you thought about checking /etc/debian_version instead? Precise lists wheezy/sid, where as Trusty lists jessie/sid. You could also parse the output of lsb_release - d? e.g. lsb_release -d | cut -d &quot; &quot; -f 2 gives 14.04.1.<br clear="all">
<div><br></div><div>Cheers,</div><div><br></div><div>Steve</div>-- <br><div dir="ltr"><a href="http://about.me/gawbul" style="margin:0px;padding:0px;border:0px;outline:0px;font-size:14px;vertical-align:baseline;color:rgb(43,130,173);text-decoration:none;line-height:18px" target="_blank"><font face="tahoma, sans-serif"></font><table border="0" cellpadding="0" cellspacing="0" style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline;border-spacing:0px">
<tbody style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;vertical-align:baseline;height:30px">
 </td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:top;line-height:1">
<div style="margin:0px;padding:0px;border:0px;outline:0px;font-weight:bold;font-style:inherit;font-size:18px;vertical-align:baseline;line-height:1;color:rgb(51,51,51)">Steve Moss</div><div style="margin:3px 0px 0px;padding:0px;border:0px;outline:0px;font-style:inherit;font-size:12px;vertical-align:baseline">
about.me/gawbul</div></td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><td align="left" valign="top" style="padding:8px 0px 0px;border:0px;outline:0px;font-style:inherit;vertical-align:top;line-height:1">
<div style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline;text-align:right;background-color:rgb(197,208,224);height:4px"><img src="http://d13pix9kaak6wt.cloudfront.net/signature/colorbar.png" alt="Steve Moss on about.me" width="88" height="4" style="margin: 0px; padding: 0px; border: 0px; outline: 0px; font-style: inherit; vertical-align: baseline; float: right; display: block;"></div>
</td></tr><tr style="margin:0px;padding:0px;border:0px;outline:0px;font-style:inherit;vertical-align:baseline"><td style="padding:0px;border:0px;outline:0px;font-style:inherit;font-size:0px;vertical-align:baseline;height:20px">
 </td></tr></tbody></table></a></div>
</div></div>