From: Zack Cerza Date: Fri, 20 May 2016 22:56:54 +0000 (-0600) Subject: OS: Don't raise if a codename isn't found X-Git-Tag: 1.1.0~603^2~14 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e23451119846c46a28c82a1226e07614cf8be030;p=teuthology.git OS: Don't raise if a codename isn't found Signed-off-by: Zack Cerza --- diff --git a/teuthology/orchestra/opsys.py b/teuthology/orchestra/opsys.py index 4f7fe4a539..7d6daec2bd 100644 --- a/teuthology/orchestra/opsys.py +++ b/teuthology/orchestra/opsys.py @@ -62,10 +62,6 @@ class OS(object): for (_version, codename) in DISTRO_CODENAME_MAP[name].iteritems(): if version == _version or version.split('.')[0] == _version: return codename - raise RuntimeError("No codename found for %s %s !" % ( - name, - version, - )) @staticmethod def _codename_to_version(name, codename):