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

Side by Side Diff: appengine/components/components/config/remote.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 2015 The LUCI Authors. All rights reserved. 1 # Copyright 2015 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 """remote.Provider reads configs from a remote config service.""" 5 """remote.Provider reads configs from a remote config service."""
6 6
7 import base64 7 import base64
8 import datetime 8 import datetime
9 import json 9 import json
10 import logging 10 import logging
11 import urllib 11 import urllib
12 12
13 from google.appengine.ext import ndb 13 from google.appengine.ext import ndb
(...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after
300 provider = Provider(settings.service_hostname) 300 provider = Provider(settings.service_hostname)
301 raise ndb.Return(provider) 301 raise ndb.Return(provider)
302 302
303 303
304 def cron_update_last_good_configs(): 304 def cron_update_last_good_configs():
305 provider = get_provider_async().get_result() 305 provider = get_provider_async().get_result()
306 if provider: 306 if provider:
307 f = LastGoodConfig.query().map_async( 307 f = LastGoodConfig.query().map_async(
308 provider._update_last_good_config_async, keys_only=True) 308 provider._update_last_good_config_async, keys_only=True)
309 f.check_success() 309 f.check_success()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698