diff options
Diffstat (limited to 'styleguide/c++/chromium-cpp/main.py')
-rwxr-xr-x | styleguide/c++/chromium-cpp/main.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/styleguide/c++/chromium-cpp/main.py b/styleguide/c++/chromium-cpp/main.py index 9017296..aef55ab 100755 --- a/styleguide/c++/chromium-cpp/main.py +++ b/styleguide/c++/chromium-cpp/main.py @@ -33,6 +33,7 @@ class GitilesMirrorHandler(webapp2.RequestHandler): if not contents or self.request.get('bust'): result = urlfetch.fetch(url) if result.status_code != 200: + self.response.set_status(result.status_code) self.response.write('http error %d' % result.status_code) return contents = base64.b64decode(result.content) |