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

Side by Side Diff: appengine/findit/common/appengine_util.py

Issue 2438673004: [Findit] Post analysis results of flakes to bug filed by chromium-try-flakes. (Closed)
Patch Set: Add a config flag to enable/disable updating monorail bug. Created 4 years, 1 month 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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 import os 5 import os
6 6
7 from google.appengine.api import app_identity 7 from google.appengine.api import app_identity
8 from google.appengine.api import modules 8 from google.appengine.api import modules
9 9
10 10
(...skipping 16 matching lines...) Expand all
27 """Returns the target name for the given module and version. 27 """Returns the target name for the given module and version.
28 28
29 Version defaults to the one running this code. 29 Version defaults to the one running this code.
30 """ 30 """
31 if IsInDevServer(): 31 if IsInDevServer():
32 # Dev server doesn't support multiple versions of a module. 32 # Dev server doesn't support multiple versions of a module.
33 return module_name 33 return module_name
34 else: 34 else:
35 version = version or GetCurrentVersion() 35 version = version or GetCurrentVersion()
36 return '%s.%s' % (version, module_name) 36 return '%s.%s' % (version, module_name)
37
OLDNEW
« no previous file with comments | « appengine/chromium_try_flakes/issue_tracker/test/issue_tracker_api_test.py ('k') | appengine/findit/handlers/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698