Fixed previous commit

This commit is contained in:
Gregory Becker 2016-05-06 12:35:43 -07:00
parent bc087cfefb
commit 06b9433351

View File

@ -205,7 +205,8 @@ def _read_spec_from_yaml(self, hash_key, installs, parent_key=None):
# Install records don't include hash with spec, so we add it in here
# to ensure it is read properly.
spec_dict['hash'] = hash_key
for name in spec_dict:
spec_dict[name]['hash'] = hash_key
# Build spec from dict first.
spec = Spec.from_node_dict(spec_dict)