]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
GitbuilderProject: always set codename
authorZack Cerza <zack@redhat.com>
Fri, 9 Sep 2016 16:55:49 +0000 (10:55 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 4 Oct 2016 15:01:20 +0000 (09:01 -0600)
When a GitbuilderProject (and also ShamanProject) was being init-ed from
a Remote object, we weren't setting the codename.

Signed-off-by: Zack Cerza <zack@redhat.com>
teuthology/packaging.py

index a12a632280ea31c96c3504b639882c01820b857b..1831918afb14f3c02977af594dd97e29c5c72a5c 100644 (file)
@@ -457,6 +457,7 @@ class GitbuilderProject(object):
         self.arch = self.remote.arch
         self.os_type = self.remote.os.name
         self.os_version = self.remote.os.version
+        self.codename = self.remote.os.codename
         self.pkg_type = self.remote.system_type
         self.distro = self._get_distro(
             distro=self.remote.os.name,