]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
Remove unused functions
authorZack Cerza <zack@cerza.org>
Thu, 12 Jun 2014 17:48:46 +0000 (12:48 -0500)
committerZack Cerza <zack@cerza.org>
Wed, 25 Jun 2014 18:54:22 +0000 (12:54 -0600)
Signed-off-by: Zack Cerza <zack.cerza@inktank.com>
teuthology/suite.py

index 900569c1cdcac2fec715e9e93cea6cccf7133315..0810666bcd9d98db801343332c46024ed02ee18a 100644 (file)
@@ -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