Default SYS_TYPE should just be an unknown architecture.
This commit is contained in:
parent
655ab60beb
commit
514f1acdb0
@ -84,7 +84,7 @@ def sys_type():
|
|||||||
|
|
||||||
# Couldn't determine the sys_type for this machine.
|
# Couldn't determine the sys_type for this machine.
|
||||||
if sys_type is None:
|
if sys_type is None:
|
||||||
raise NoSysTypeError()
|
return "unknown_arch"
|
||||||
|
|
||||||
if not isinstance(sys_type, basestring):
|
if not isinstance(sys_type, basestring):
|
||||||
raise InvalidSysTypeError(sys_type)
|
raise InvalidSysTypeError(sys_type)
|
||||||
|
Loading…
Reference in New Issue
Block a user