double iteration in Synchronizer.sync

Bug #1262956 reported by B Carrillo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
U1DB
New
Undecided
Unassigned

Bug Description

as the comment in code says, there is a double iteration while preparing the sequence of docs to be synced

137 # TODO: there must be a way to not iterate twice
138 docs_by_generation = zip(
139 docs_to_send, (gen for _, gen, _ in changes),
140 (trans for _, _, trans in changes))

Related branches

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.