OLD | NEW |
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()) |
OLD | NEW |