Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 47b53c41 authored by Yifan Hong's avatar Yifan Hong Committed by Gerrit Code Review
Browse files

Merge "dynamic partition update order is deterministic."

parents bf219324 79997e5a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2226,7 +2226,7 @@ class DynamicPartitionsDifference(object):
             collections.Counter(e.partition for e in block_diffs).items()
             if count > 1])

    self._partition_updates = dict()
    self._partition_updates = collections.OrderedDict()

    for p, block_diff in block_diff_dict.items():
      self._partition_updates[p] = DynamicPartitionUpdate()
@@ -2277,7 +2277,7 @@ class DynamicPartitionsDifference(object):
      logger.info("Updating dynamic partitions %s",
                  self._partition_updates.keys())

    self._group_updates = dict()
    self._group_updates = collections.OrderedDict()

    for g in tgt_groups:
      self._group_updates[g] = DynamicGroupUpdate()