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

Side by Side Diff: chrome/common/extensions/docs/server2/clark.py

Issue 10387225: Die build.py, Die: Part 1 (BranchUtility and SubversionFetcher) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: 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
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5
6 from google.appengine.ext import webapp
7 from google.appengine.ext.webapp.util import run_wsgi_app
8 from branch_utility import BranchUtility
9
10
11 class MainPage(webapp.RequestHandler):
12 def get(self):
13 b_util = BranchUtility()
14 self.response.out.write('dev: ' +
15 b_util.GetBranchNumberForChannelName('dev') + '<br/>')
16 self.response.out.write('beta: ' +
17 b_util.GetBranchNumberForChannelName('beta') + '<br/>')
18 self.response.out.write('stable: ' +
19 b_util.GetBranchNumberForChannelName('stable') + '<br/>')
20 self.response.out.write('trunk: ' +
21 b_util.GetBranchNumberForChannelName('trunk'))
22
23 application = webapp.WSGIApplication([
24 ('/.*', MainPage),
25 ], debug=False)
26
27
28 def main():
29 run_wsgi_app(application)
30
31
32 if __name__ == '__main__':
33 main()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698