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

Side by Side Diff: appengine/gce-backend/config.py

Issue 1860863002: Update copyright notice from Swarming to LUCI; add AUTHORS and CONTRIBUTORS. (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: . Created 4 years, 8 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
« no previous file with comments | « appengine/gce-backend/agent/agent.py ('k') | appengine/gce-backend/config_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Swarming Authors. All rights reserved. 1 # Copyright 2016 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 by the Apache v2.0 license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Utilities for reading GCE Backend configuration.""" 5 """Utilities for reading GCE Backend configuration."""
6 6
7 import collections 7 import collections
8 import logging 8 import logging
9 9
10 from components import utils 10 from components import utils
11 utils.fix_protobuf_package() 11 utils.fix_protobuf_package()
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 zones = collections.defaultdict(set) 91 zones = collections.defaultdict(set)
92 for manager in config.managers: 92 for manager in config.managers:
93 if manager.zone in zones[manager.template_base_name]: 93 if manager.zone in zones[manager.template_base_name]:
94 context.error( 94 context.error(
95 'zone %s is not unique in template %s.', 95 'zone %s is not unique in template %s.',
96 manager.zone, 96 manager.zone,
97 manager.template_base_name, 97 manager.template_base_name,
98 ) 98 )
99 else: 99 else:
100 zones[manager.template_base_name].add(manager.zone) 100 zones[manager.template_base_name].add(manager.zone)
OLDNEW
« no previous file with comments | « appengine/gce-backend/agent/agent.py ('k') | appengine/gce-backend/config_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698