Changed from_dict to arch_from_dict method

This commit is contained in:
Mario Melara 2016-02-25 11:53:02 -08:00
parent 5e4d3e7b82
commit 5989e3f65d

View file

@ -695,7 +695,7 @@ def from_node_dict(node):
spec = Spec(name) spec = Spec(name)
spec.versions = VersionList.from_dict(node) spec.versions = VersionList.from_dict(node)
# TODO: Need to fix the architecture.Target.from_dict # TODO: Need to fix the architecture.Target.from_dict
spec.architecture = spack.architecture.from_dict(node['architecture']) spec.architecture = spack.architecture.arch_from_dict(node['architecture'])
if node['compiler'] is None: if node['compiler'] is None:
spec.compiler = None spec.compiler = None