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

* commit 'ae9787514d5709dff766f4791c00a4875eebbf50':
  Make the generated OTAs repeatable
This commit is contained in:
Tao Bao
2015-03-20 03:27:55 +00:00
committed by Android Git Automerger

View File

@@ -140,8 +140,11 @@ class Transfer(object):
self.style = style
self.intact = (getattr(tgt_ranges, "monotonic", False) and
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.use_stash = []