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

Commit ae978751 authored by Tao Bao's avatar Tao Bao Committed by Android Git Automerger
Browse files

am 261e195d: Merge "Make the generated OTAs repeatable"

* commit '261e195d':
  Make the generated OTAs repeatable
parents f1999c8a 261e195d
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -140,8 +140,11 @@ class Transfer(object):
    self.style = style
    self.style = style
    self.intact = (getattr(tgt_ranges, "monotonic", False) and
    self.intact = (getattr(tgt_ranges, "monotonic", False) and
                   getattr(src_ranges, "monotonic", False))
                   getattr(src_ranges, "monotonic", False))
    self.goes_before = {}

    self.goes_after = {}
    # We use OrderedDict rather than dict so that the output is repeatable;
    # otherwise it would depend on the hash values of the Transfer objects.
    self.goes_before = OrderedDict()
    self.goes_after = OrderedDict()


    self.stash_before = []
    self.stash_before = []
    self.use_stash = []
    self.use_stash = []