Just call old os "unknown"

This commit is contained in:
Todd Gamblin 2016-06-16 02:06:19 -07:00
parent 76dfaa71a7
commit 88b671f8b1

View file

@ -451,7 +451,7 @@ def arch_from_dict(d):
if isinstance(d, basestring):
# We have an old spec using a string for the architecture
arch.platform = Platform('spack_compatibility')
arch.platform_os = OperatingSystem('pre_version', '1.0')
arch.platform_os = OperatingSystem('unknown', '')
arch.target = Target(d)
arch.os_string = None