Fix #3248: Accidental config_hash change

Signed-off-by: Vladimir Lagunov <lagunov.vladimir@gmail.com>
This commit is contained in:
Vladimir Lagunov 2016-04-15 15:11:50 +03:00 committed by Joffrey F
parent 3368887a29
commit a86a195c50
1 changed files with 2 additions and 2 deletions

View File

@ -726,7 +726,7 @@ class MergeDict(dict):
merged = parse_sequence_func(self.base.get(field, []))
merged.update(parse_sequence_func(self.override.get(field, [])))
self[field] = [item.repr() for item in merged.values()]
self[field] = [item.repr() for item in sorted(merged.values())]
def merge_scalar(self, field):
if self.needs_merge(field):
@ -928,7 +928,7 @@ def dict_from_path_mappings(path_mappings):
def path_mappings_from_dict(d):
return [join_path_mapping(v) for v in d.items()]
return [join_path_mapping(v) for v in sorted(d.items())]
def split_path_mapping(volume_path):