From d85f00818d608b925c49ed23985d370c3c866bf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 28 Jan 2016 11:32:57 +0100 Subject: [PATCH] [image-build] Remove dead code MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit There are no mounts when running image-build tasks in Koji. This looks like a copy-paste error. Signed-off-by: Lubomír Sedlář --- pungi/phases/image_build.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/pungi/phases/image_build.py b/pungi/phases/image_build.py index d950f8ce..5fd67b33 100644 --- a/pungi/phases/image_build.py +++ b/pungi/phases/image_build.py @@ -154,9 +154,6 @@ class CreateImageBuildThread(WorkerThread): def worker(self, num, compose, cmd): arches = cmd['image_conf']['arches'].split(',') - mounts = [compose.paths.compose.topdir()] - if "mount" in cmd: - mounts.append(cmd["mount"]) log_file = compose.paths.log.log_file( cmd["image_conf"]["arches"], "imagebuild-%s-%s-%s" % ('-'.join(arches),