summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Gamblin <tgamblin@llnl.gov>2014-04-16 00:55:05 -0700
committerTodd Gamblin <tgamblin@llnl.gov>2014-04-16 00:55:05 -0700
commit514f1acdb06c1648812fec180b61f666fbf429d0 (patch)
tree5b28262f463587186841a10cf2815e104107f3c9
parent655ab60beb4bc1960733d19766317f6a878256d7 (diff)
downloadspack-514f1acdb06c1648812fec180b61f666fbf429d0.tar.gz
spack-514f1acdb06c1648812fec180b61f666fbf429d0.tar.bz2
spack-514f1acdb06c1648812fec180b61f666fbf429d0.tar.xz
spack-514f1acdb06c1648812fec180b61f666fbf429d0.zip
Default SYS_TYPE should just be an unknown architecture.
-rw-r--r--lib/spack/spack/architecture.py2
1 files changed, 1 insertions, 1 deletions
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)