From 1058c5e269c385dc05a955be3bd098fd2fad82a4 Mon Sep 17 00:00:00 2001 From: topilski Date: Sat, 26 Aug 2017 10:45:22 +0300 Subject: [PATCH] amd64 --- base/system_info.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/system_info.py b/base/system_info.py index 190a60c..8870131 100644 --- a/base/system_info.py +++ b/base/system_info.py @@ -114,6 +114,7 @@ class RedHatPlatform(Platform): class LinuxPlatforms(SupportedPlatforms): def __init__(self): SupportedPlatforms.__init__(self, 'linux', [Architecture('x86_64', 64, '/usr/local'), + Architecture('amd64', 64, '/usr/local'), Architecture('i386', 32, '/usr/local'), Architecture('aarch64', 64, '/usr/local'), Architecture('armv7l', 32, '/usr/local'), @@ -219,7 +220,7 @@ def get_extension_by_package(package_type) -> str: elif package_type == 'APK': return 'apk' else: - return None + return 'unknown' def get_os() -> str: @@ -237,7 +238,7 @@ def get_os() -> str: elif uname_str == 'Android': return 'android' else: - return None + return 'unknown' def get_arch_name() -> str: