Make internal hash dep sort order match external one.

This commit is contained in:
Todd Gamblin 2015-12-11 16:47:34 -08:00
parent 3dd6cbc556
commit afbd0e77d0

View file

@ -1506,7 +1506,8 @@ def _cmp_key(self):
2. The hash of each of this node's dependencies' cmp_keys.
"""
return self._cmp_node() + (
tuple(sorted(hash(d) for d in self.dependencies.values())),)
tuple(hash(self.dependencies[name])
for name in sorted(self.dependencies)),)
def colorized(self):