Chromium Code Reviews| Index: chrome/common/extensions/docs/server2/handler.py |
| diff --git a/chrome/common/extensions/docs/server2/handler.py b/chrome/common/extensions/docs/server2/handler.py |
| index 645dbfc1c616691b231d91c4bde94738bee0eaf8..58976560bf9a4e0671b810fadbad294db737c66f 100644 |
| --- a/chrome/common/extensions/docs/server2/handler.py |
| +++ b/chrome/common/extensions/docs/server2/handler.py |
| @@ -166,6 +166,7 @@ class Handler(webapp.RequestHandler): |
| self._HandleGet(path) |
| def _HandleCron(self, path): |
| + original_response = self.response |
|
not at google - send to devlin
2012/08/22 13:57:58
rather than this, could you make _Render save then
cduvall
2012/08/22 17:20:43
Done.
|
| branch = path.split('/')[-1] |
| logging.info('Running cron job for %s.' % branch) |
| branch_memcache = InMemoryObjectStore(branch) |
| @@ -174,6 +175,7 @@ class Handler(webapp.RequestHandler): |
| render_cache = builder.build(lambda x: self._Render(x, branch), |
| fs_cache.RENDER) |
| render_cache.GetFromFileListing(PUBLIC_TEMPLATE_PATH) |
| + original_response.out.write('Success') |
| def get(self): |
| path = self.request.path |