From 901635045d40ac7ba17109e382b09d092d0265af Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Sat, 14 May 2016 15:32:04 +0200 Subject: [PATCH] packaging.py: make _get_distro() support openSUSE Add an explicit "elif" block for opensuse - without this, it falls through into the else clause and dies because it cannot determine a codename. Signed-off-by: Nathan Cutler --- teuthology/packaging.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/teuthology/packaging.py b/teuthology/packaging.py index 6a125ca0a..a4cafbb94 100644 --- a/teuthology/packaging.py +++ b/teuthology/packaging.py @@ -599,6 +599,8 @@ class GitbuilderProject(object): distro = "centos" elif distro == "fedora": distro = "fc" + elif distro == "opensuse": + distro = "opensuse" else: # deb based systems use codename instead of a distro/version combo if not codename: -- 2.47.3