<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,5 +1,6 @@
 from catalog.read_rc import read_rc
 import httplib, web, time, sys
+from datetime import date, timedelta
 
 rc = read_rc()
 accesskey = rc['s3_accesskey']
@@ -29,6 +30,7 @@ def put_file(con, ia, filename, headers):
     print 'uploading %s' % filename
     headers['authorization'] = &quot;LOW &quot; + accesskey + ':' + secret
     url = 'http://s3.us.archive.org/' + ia + '/' + filename
+    print url
     data = open(crawl_dir + '/' + filename).read()
     con.request('PUT', url, data, headers)
     res = con.getresponse()</diff>
      <filename>catalog/amazon/upload.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>58110b5ab3ca5c0e654c1b02540652eb6cbf16a6</id>
    </parent>
  </parents>
  <author>
    <name>Edward Betts</name>
    <email>edwardbetts@gmail.com</email>
  </author>
  <url>http://github.com/openlibrary/openlibrary/commit/c53805a06af0b26ea0bfc31ab16a4de013ccd53c</url>
  <id>c53805a06af0b26ea0bfc31ab16a4de013ccd53c</id>
  <committed-date>2009-07-03T14:45:16-07:00</committed-date>
  <authored-date>2009-07-03T14:45:16-07:00</authored-date>
  <message>add missing import line to upload.py

also print out put URL for debugging</message>
  <tree>aa50e9367fc8dc97820cbcbb381265d099039482</tree>
  <committer>
    <name>Edward Betts</name>
    <email>edwardbetts@gmail.com</email>
  </committer>
</commit>
