<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -68,7 +68,7 @@ class ZpCacher:
         self.save()
     def save(self):
         out = &quot;&quot;
-        for vid,values in sorted(self.cache.items(), key=lambda x: x[0]):
+        for vid,values in sorted(self.cache.items(), key=lambda x: int(x[0])):
             out += &quot;%s|%s|%s|%s\n&quot; % (vid, values['flv'], values['web'], values['title'])
         f = open(self.cache_file, &quot;w+&quot;)
         f.write(out)</diff>
      <filename>zp_grabber.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>699c832b72bb86b635a518f32355cfedc01768b2</id>
    </parent>
  </parents>
  <author>
    <name>dbr</name>
    <email>dbr.onix@gmail.com</email>
  </author>
  <url>http://github.com/dbr/zp_grabber/commit/3b910b4334d3642a67b928957080aee11f6d430f</url>
  <id>3b910b4334d3642a67b928957080aee11f6d430f</id>
  <committed-date>2009-11-12T11:27:39-08:00</committed-date>
  <authored-date>2009-11-12T11:27:39-08:00</authored-date>
  <message>Sort by id as an int, not a str (sorts numerically, so &quot;1, 11, 100&quot;, not &quot;1, 100, 11&quot;)</message>
  <tree>b7bdd2e4ed34dfc6882bc3d425b587b4f68bd724</tree>
  <committer>
    <name>dbr</name>
    <email>dbr.onix@gmail.com</email>
  </committer>
</commit>
