From d92f538549c364d85b63d3035674d2a11827aafb Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Thu, 12 Jun 2014 12:48:46 -0500 Subject: [PATCH] Remove unused functions Signed-off-by: Zack Cerza --- teuthology/suite.py | 47 --------------------------------------------- 1 file changed, 47 deletions(-) diff --git a/teuthology/suite.py b/teuthology/suite.py index 900569c1cdcac..0810666bcd9d9 100644 --- a/teuthology/suite.py +++ b/teuthology/suite.py @@ -281,50 +281,3 @@ def get_arch(config): arch = machine['arch'] return arch return None - - -def get_os_type(configs): - for config in configs: - yamlfile = config[2] - y = yaml.safe_load(file(yamlfile)) - if not y: - y = {} - os_type = y.get('os_type') - if os_type: - return os_type - return None - - -def get_exclude_arch(configs): - for config in configs: - yamlfile = config[2] - y = yaml.safe_load(file(yamlfile)) - if not y: - y = {} - exclude_arch = y.get('exclude_arch') - if exclude_arch: - return exclude_arch - return None - - -def get_exclude_os_type(configs): - for config in configs: - yamlfile = config[2] - y = yaml.safe_load(file(yamlfile)) - if not y: - y = {} - exclude_os_type = y.get('exclude_os_type') - if exclude_os_type: - return exclude_os_type - return None - - -def get_machine_type(config): - for yamlfile in config: - y = yaml.safe_load(file(yamlfile)) - if not y: - y = {} - machine_type = y.get('machine_type') - if machine_type: - return machine_type - return None -- 2.39.5