Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(557)

Side by Side Diff: third_party/gsutil/cloudreader/cloudreader.py

Issue 10199002: Upgrade gsutil to 3.4 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « third_party/gsutil/cloudreader/boto.cfg ('k') | third_party/gsutil/cloudreader/index.yaml » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2010 Google Inc. 3 # Copyright 2010 Google Inc.
4 # 4 #
5 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License. 6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at 7 # You may obtain a copy of the License at
8 # 8 #
9 # http://www.apache.org/licenses/LICENSE-2.0 9 # http://www.apache.org/licenses/LICENSE-2.0
10 # 10 #
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 self.response.out.write( 42 self.response.out.write(
43 '<b>Failure: status=%d, code=%s, reason=%s.</b>' % 43 '<b>Failure: status=%d, code=%s, reason=%s.</b>' %
44 (e.status, e.code, e.reason)) 44 (e.status, e.code, e.reason))
45 45
46 def main(): 46 def main():
47 application = webapp.WSGIApplication([('/', MainPage)], debug=True) 47 application = webapp.WSGIApplication([('/', MainPage)], debug=True)
48 run_wsgi_app(application) 48 run_wsgi_app(application)
49 49
50 if __name__ == "__main__": 50 if __name__ == "__main__":
51 main() 51 main()
OLDNEW
« no previous file with comments | « third_party/gsutil/cloudreader/boto.cfg ('k') | third_party/gsutil/cloudreader/index.yaml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698