<br><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 12:33 PM,  <span dir="ltr">&lt;<a href="mailto:Paul_Koning@dell.com" target="_blank">Paul_Koning@dell.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div class="im"><br>
On Aug 3, 2012, at 3:18 PM, enh wrote:<br>
<br>
&gt; i switched Android&#39;s script from bash to python last month just to deal with FTP more conveniently:<br>
&gt;<br>
&gt;   <a href="https://android.googlesource.com/platform/bionic/+/5d967e43d03e9c916548b9c290b0c4138df2f1f8" target="_blank">https://android.googlesource.com/platform/bionic/+/5d967e43d03e9c916548b9c290b0c4138df2f1f8</a><br>


&gt;<br>
&gt; anyone who&#39;s looking for the three[-ish] lines of python can search for &#39;nlst&#39; in this change: <a href="https://android.googlesource.com/platform/bionic/+/5d967e43d03e9c916548b9c290b0c4138df2f1f8%5E!/#F0" target="_blank">https://android.googlesource.com/platform/bionic/+/5d967e43d03e9c916548b9c290b0c4138df2f1f8%5E!/#F0</a><br>


<br>
</div>Cool.<br>
<br>
I don&#39;t think you need to retrieve intermediate files, if you&#39;re several files behind.  Everything is cumulative, so the latest is always sufficient.<br></blockquote><div><br></div><div>i do that for my own benefit, so when people want to know when we last updated some particular zone, i can go through the check-in comments to find out. (sure, a real tool would be better, and checking in the corresponding non-compiled tzdata source files might be a good idea too, but in the absence of that...)</div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">&gt;<br>
&gt; does anyone have any good ideas about programmatically doing something about verifying the PGP signatures?<br>
<br>
</div>There&#39;s python-gnupg and pypgp, both of which look like wrappers around the command line tool.  You can do likewise with the Subprocess module, of course.<br>
<br>
Presumably it could be done with pycrypto, I&#39;m not sure if anyone has already done the legwork.  It&#39;s probably not hard, but pycrypto is a crypto API, so doing PGP things would mean some extra code on top of that basic API to do the PGP specific processing.<br>


</blockquote></div><br>i don&#39;t seem to have any of those in my python installation so i&#39;m probably stuck with Subprocess.