From 514f1acdb06c1648812fec180b61f666fbf429d0 Mon Sep 17 00:00:00 2001 From: Todd Gamblin Date: Wed, 16 Apr 2014 00:55:05 -0700 Subject: [PATCH] Default SYS_TYPE should just be an unknown architecture. --- lib/spack/spack/architecture.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/spack/spack/architecture.py b/lib/spack/spack/architecture.py index 7fbf1dadcf..9b4c6e576d 100644 --- a/lib/spack/spack/architecture.py +++ b/lib/spack/spack/architecture.py @@ -84,7 +84,7 @@ def sys_type(): # Couldn't determine the sys_type for this machine. if sys_type is None: - raise NoSysTypeError() + return "unknown_arch" if not isinstance(sys_type, basestring): raise InvalidSysTypeError(sys_type)