Default SYS_TYPE should just be an unknown architecture.

This commit is contained in:
Todd Gamblin 2014-04-16 00:55:05 -07:00
parent 655ab60beb
commit 514f1acdb0

View file

@ -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)