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

Side by Side Diff: appengine/auth_service/replication.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/auth_service/pubsub.py ('k') | appengine/auth_service/replication_smoke_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 2014 The Swarming Authors. All rights reserved. 1 # Copyright 2014 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 """Primary side of Primary <-> Replica protocol.""" 5 """Primary side of Primary <-> Replica protocol."""
6 6
7 import base64 7 import base64
8 import hashlib 8 import hashlib
9 import logging 9 import logging
10 import zlib 10 import zlib
11 11
(...skipping 538 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 state.push_started_ts = started_ts 550 state.push_started_ts = started_ts
551 state.push_finished_ts = finished_ts 551 state.push_finished_ts = finished_ts
552 if isinstance(exc, FatalReplicaUpdateError): 552 if isinstance(exc, FatalReplicaUpdateError):
553 state.push_status = PUSH_STATUS_FATAL_ERROR 553 state.push_status = PUSH_STATUS_FATAL_ERROR
554 else: 554 else:
555 state.push_status = PUSH_STATUS_TRANSIENT_ERROR 555 state.push_status = PUSH_STATUS_TRANSIENT_ERROR
556 state.push_error = str(exc) 556 state.push_error = str(exc)
557 state.put() 557 state.put()
558 558
559 return state.auth_db_rev 559 return state.auth_db_rev
OLDNEW
« no previous file with comments | « appengine/auth_service/pubsub.py ('k') | appengine/auth_service/replication_smoke_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698