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

Side by Side Diff: appengine/swarming/server/config.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Fixed third parties Created 4 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
1 # Copyright 2013 The LUCI Authors. All rights reserved. 1 # Copyright 2013 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed by the Apache v2.0 license that can be 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 """Instance specific settings.""" 5 """Instance specific settings."""
6 6
7 import logging 7 import logging
8 import posixpath 8 import posixpath
9 import re 9 import re
10 10
11 from components import config 11 from components import config
12 from components import gitiles 12 from components import gitiles
13 from components import net 13 from components import net
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 'config_service_url': ( 151 'config_service_url': (
152 'https://%s' % cfg_service_hostname if cfg_service_hostname else '' 152 'https://%s' % cfg_service_hostname if cfg_service_hostname else ''
153 ), 153 ),
154 } 154 }
155 155
156 156
157 @utils.cache_with_expiration(60) 157 @utils.cache_with_expiration(60)
158 def settings(): 158 def settings():
159 """Loads settings from an NDB-based cache or a default one if not present.""" 159 """Loads settings from an NDB-based cache or a default one if not present."""
160 return _get_settings()[1] 160 return _get_settings()[1]
OLDNEW
« no previous file with comments | « appengine/swarming/server/bot_management_test.py ('k') | appengine/swarming/server/config_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698