<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -300,10 +300,11 @@ if __name__ == '__main__':
 
                 # Skip files that exist
                 if os.access(target, os.R_OK):
+                    inodes[photoid] = target
                     continue
                 
                 # Look it up in our dictionary of inodes first
-                if inodes.has_key(photoid) and os.access(inodes[photoid], os.R_OK):
+                if photoid in inodes and inodes[photoid] and os.access(inodes[photoid], os.R_OK):
                     # woo, we have it already, use a hard-link
                     os.link(inodes[photoid], target)
                 else:</diff>
      <filename>flickrtouchr.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>574c966ac9167665138c9c2881a3b8c54be4adc7</id>
    </parent>
  </parents>
  <author>
    <name>rod</name>
    <email>rod@arsecandle.org</email>
  </author>
  <url>http://github.com/dan/hivelogic-flickrtouchr/commit/9ba645b52102311dd8c0c938e8554390ed4f0852</url>
  <id>9ba645b52102311dd8c0c938e8554390ed4f0852</id>
  <committed-date>2009-06-07T19:48:13-07:00</committed-date>
  <authored-date>2009-06-07T19:48:13-07:00</authored-date>
  <message>Don't bomb out if you couldn't download a pic, and later try to link to
it.</message>
  <tree>826102879017a7ae5e58c057c5207cbad1788292</tree>
  <committer>
    <name>rod</name>
    <email>rod@arsecandle.org</email>
  </committer>
</commit>
