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

Side by Side Diff: appengine/findit/handlers/version.py

Issue 2344443005: [Findit] Factoring the gitiles (etc) stuff out into its own directory (Closed)
Patch Set: moving ./gitiles to ./lib/gitiles Created 4 years, 2 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 from common import appengine_util 5 from common import appengine_util
6 from common.base_handler import BaseHandler 6 from common.base_handler import BaseHandler, Permission
7 from common.base_handler import Permission
8 7
9 8
10 class Version(BaseHandler): 9 class Version(BaseHandler):
11 PERMISSION_LEVEL = Permission.ANYONE 10 PERMISSION_LEVEL = Permission.ANYONE
12 11
13 def HandleGet(self): 12 def HandleGet(self):
14 """Responses the deployed version of this app.""" 13 """Responses the deployed version of this app."""
15 self.response.write(appengine_util.GetCurrentVersion()) 14 self.response.write(appengine_util.GetCurrentVersion())
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698