Commits

ben...@localhost.metavers.net  committed 0caacb4

forgot it..

  • Participants
  • Parent commits 6c46e10

Comments (0)

Files changed (1)

File friendpaste/paste/views.py

     if 'application/json' in request.accept_mimetypes:
         if len(revisions) <= 0:
             return send_json([])
-        return send_json([r for r in revisions])
+        return send_json(revisions)
 
     if s is None:
         raise NotFound