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

Side by Side Diff: appengine/gce-backend/catalog.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
« no previous file with comments | « appengine/gce-backend/agent/agent.py ('k') | appengine/gce-backend/catalog_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 LUCI 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 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 """Utilities for interacting with the Machine Provider catalog.""" 5 """Utilities for interacting with the Machine Provider catalog."""
6 6
7 import json 7 import json
8 import logging 8 import logging
9 9
10 from google.appengine.ext import ndb 10 from google.appengine.ext import ndb
11 from protorpc.remote import protojson 11 from protorpc.remote import protojson
12 12
13 from components import gce 13 from components import gce
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 if instance and instance.cataloged: 207 if instance and instance.cataloged:
208 if not utils.enqueue_task( 208 if not utils.enqueue_task(
209 '/internal/queues/remove-cataloged-instance', 209 '/internal/queues/remove-cataloged-instance',
210 'remove-cataloged-instance', 210 'remove-cataloged-instance',
211 params={ 211 params={
212 'key': instance.key.urlsafe(), 212 'key': instance.key.urlsafe(),
213 }, 213 },
214 ): 214 ):
215 logging.warning( 215 logging.warning(
216 'Failed to enqueue task for Instance: %s', instance.key) 216 'Failed to enqueue task for Instance: %s', instance.key)
OLDNEW
« no previous file with comments | « appengine/gce-backend/agent/agent.py ('k') | appengine/gce-backend/catalog_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698