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

Side by Side Diff: appengine/gce-backend/agent/agent.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/config_service/validation_test.py ('k') | appengine/gce-backend/config.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 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright 2015 The Swarming Authors. All rights reserved. 2 # Copyright 2015 The LUCI Authors. All rights reserved.
3 # Use of this source code is governed by the Apache v2.0 license that can be 3 # Use of this source code is governed by the Apache v2.0 license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Machine Provider agent for GCE instances.""" 6 """Machine Provider agent for GCE instances."""
7 7
8 import base64 8 import base64
9 import datetime 9 import datetime
10 import httplib2 10 import httplib2
11 import json 11 import json
12 import logging 12 import logging
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 262
263 if ack_ids: 263 if ack_ids:
264 pubsub.acknowledge(subscription, project, ack_ids) 264 pubsub.acknowledge(subscription, project, ack_ids)
265 if time.time() - start_time < 1: 265 if time.time() - start_time < 1:
266 # Iterate at most once per second (chosen arbitrarily). 266 # Iterate at most once per second (chosen arbitrarily).
267 time.sleep(1) 267 time.sleep(1)
268 268
269 269
270 if __name__ == '__main__': 270 if __name__ == '__main__':
271 sys.exit(main()) 271 sys.exit(main())
OLDNEW
« no previous file with comments | « appengine/config_service/validation_test.py ('k') | appengine/gce-backend/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698