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

Unified Diff: components/sync/tools/testserver/chromiumsync.py

Issue 2568543004: [Sync] Enable USS DeviceInfo for bots. (Closed)
Patch Set: Rebase. Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: components/sync/tools/testserver/chromiumsync.py
diff --git a/components/sync/tools/testserver/chromiumsync.py b/components/sync/tools/testserver/chromiumsync.py
index cfcf54b68fb78d30ff2041b12f48dbb5ba292583..e6f19913fb2df7e8da1677aedba4c2be19d0a1d4 100644
--- a/components/sync/tools/testserver/chromiumsync.py
+++ b/components/sync/tools/testserver/chromiumsync.py
@@ -429,10 +429,8 @@ class UpdateSieve(object):
elif marker.token:
(timestamp, version) = pickle.loads(marker.token)
self._migration_versions_to_check[data_type] = version
- elif marker.HasField('token'):
- timestamp = 0
else:
- raise ValueError('No timestamp information in progress marker.')
+ timestamp = 0
data_type = ProtocolDataTypeIdToSyncType(marker.data_type_id)
self._state[data_type] = timestamp
elif request.HasField('from_timestamp'):

Powered by Google App Engine
This is Rietveld 408576698