<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -15,7 +15,7 @@ def geocode(q, api_key):
     ))
     try:
         lon, lat = json['Placemark'][0]['Point']['coordinates'][:2]
-    except KeyError, IndexError:
+    except (KeyError, IndexError):
         return None, (None, None)
     name = json['Placemark'][0]['address']
     return name, (lat, lon)</diff>
      <filename>google.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cce77aa0f4fb7e6cb88408bc7eee71add884f06e</id>
    </parent>
  </parents>
  <author>
    <name>simonw</name>
    <email>simon@simonwillison.net</email>
  </author>
  <url>http://github.com/jacobian/geocoders/commit/235b9758d0147bf9d602d4bc9cb4158e605d670d</url>
  <id>235b9758d0147bf9d602d4bc9cb4158e605d670d</id>
  <committed-date>2009-05-27T16:04:40-07:00</committed-date>
  <authored-date>2009-05-27T16:04:40-07:00</authored-date>
  <message>Fixed exception handling, thanks richardkeen</message>
  <tree>5063624949d28b62f9b0e7a76543eb80a38cd2f6</tree>
  <committer>
    <name>simonw</name>
    <email>simon@simonwillison.net</email>
  </committer>
</commit>
