Changed architecture to dict

This commit is contained in:
Mario Melara 2016-03-02 12:09:02 -08:00
parent 90e90f61c1
commit e46bac19fa

View file

@ -671,7 +671,7 @@ def to_node_dict(self):
if self.architecture:
# TODO: Fix the target.to_dict to account for the tuple
# Want it to be a dict of dicts
d['architecture'] = spack.architecture.to_dict(self.architecture)
d['architecture'] = self.architecture.to_dict()
else:
d['architecture'] = None