<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,6 +5,7 @@ import cgi
 import datetime
 
 from google.appengine.ext import webapp
+from google.appengine.runtime import DeadlineExceededError
 
 from mako.template import Template
 from mako.lookup import TemplateLookup</diff>
      <filename>app/controllers/s3.py</filename>
    </modified>
    <modified>
      <diff>@@ -71,7 +71,26 @@
           &lt;hr/&gt;
           
           &lt;h2&gt;JSON&lt;/h2&gt;
-          &lt;p&gt;Get list bucket response in JSON format with &lt;em&gt;format=json&lt;/em&gt; URL parameter.&lt;br/&gt; For example, &lt;a href=&quot;/s3hub?format=rss&quot;&gt;http://shrub.appspot.com/s3hub?format=json&lt;/a&gt; &lt;br/&gt;&lt;span class=&quot;disclaimer&quot;&gt;See limitations below.&lt;/span&gt;&lt;/p&gt;
+          &lt;p&gt;Get list bucket response in JSON format with &lt;em&gt;format=json&lt;/em&gt; URL parameter.&lt;br/&gt; For example, &lt;a href=&quot;/s3hub?format=json&quot;&gt;http://shrub.appspot.com/s3hub?format=json&lt;/a&gt; &lt;br/&gt;&lt;span class=&quot;disclaimer&quot;&gt;See limitations below.&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;&lt;/p&gt;
+&lt;pre&gt;
+{&quot;maxKeys&quot;: &quot;1000&quot;, 
+ &quot;prefix&quot;: &quot;&quot;, 
+ &quot;commonPrefixes&quot;: [], 
+ &quot;isTrucated&quot;: false, 
+ &quot;contents&quot;: [
+     {&quot;etag&quot;: &quot;\&quot;ee8a4f9c22e98b6dfb1781650eaffe01\&quot;&quot;, 
+      &quot;storageClass&quot;: &quot;STANDARD&quot;, 
+      &quot;key&quot;: &quot;S3Hub-0.5.1.dmg&quot;, 
+      &quot;lastModified&quot;: 1213991757, 
+      &quot;bucket&quot;: &quot;s3hub&quot;, 
+      &quot;size&quot;: 2635399}, 
+     {&quot;etag&quot;: &quot;\&quot;cb8d95164e9696823f7b01b306840896\&quot;&quot;, 
+      &quot;storageClass&quot;: &quot;STANDARD&quot;, 
+      &quot;key&quot;: &quot;S3Hub-0.5.10.dmg&quot;, 
+      &quot;lastModified&quot;: 1213991757, 
+      &quot;bucket&quot;: &quot;s3hub&quot;, 
+      &quot;size&quot;: 2779097}, ...
+&lt;/pre&gt;
           
           &lt;hr/&gt;
           </diff>
      <filename>app/views/index.mako</filename>
    </modified>
    <modified>
      <diff>@@ -313,7 +313,7 @@ class JSONEncoder(object):
             for chunk in self._iterencode_dict(o, markers):
                 yield chunk
         elif isinstance(o, datetime.datetime): 
-            key = time.mktime(o.timetuple())        
+            yield str(int(time.mktime(o.timetuple())))
         else:
             if markers is not None:
                 markerid = id(o)</diff>
      <filename>lib/simplejson/encoder.py</filename>
    </modified>
    <modified>
      <diff>@@ -39,7 +39,8 @@ class S3File:
     return u'%s/%s' % (self.bucket, self.key)
   
   def __json__(self):
-    return dict(bucket=self.bucket, key=self.key, etag=self.etag, lastModified=self.last_modified, size=self.size, storageClass=self.storage_class)
+    return dict(bucket=self.bucket, key=self.key, etag=self.etag, lastModified=self.last_modified,
+      size=self.size, storageClass=self.storage_class)
     
   def name_with_prefix(self, prefix):
     if prefix:</diff>
      <filename>shrub/file.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>a46dc299421cc34e0dc75354bb14d048186c1650</id>
    </parent>
  </parents>
  <author>
    <name>Gabriel Handford</name>
    <email>gabe@YELP-GABE.local</email>
  </author>
  <url>http://github.com/gabriel/shrub/commit/2cbd515ff0a2bc229b0fd63943b5d90369dbcee5</url>
  <id>2cbd515ff0a2bc229b0fd63943b5d90369dbcee5</id>
  <committed-date>2008-12-14T00:49:45-08:00</committed-date>
  <authored-date>2008-12-14T00:49:45-08:00</authored-date>
  <message>Fixing last modified in json</message>
  <tree>966fee18a2ab8877f65527a99c256c3c81d86396</tree>
  <committer>
    <name>Gabriel Handford</name>
    <email>gabe@YELP-GABE.local</email>
  </committer>
</commit>
