From 7320bf4943988af82fdbe281b9ba9ab419c91930 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 10 Jan 2019 10:43:14 +0100 Subject: [PATCH] orchestrator: Compatibility with Python 2.6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This is why we can't have nice things. Signed-off-by: Lubomír Sedlář --- pungi_utils/orchestrator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pungi_utils/orchestrator.py b/pungi_utils/orchestrator.py index e8534847..3b8b26e8 100644 --- a/pungi_utils/orchestrator.py +++ b/pungi_utils/orchestrator.py @@ -106,7 +106,7 @@ class ComposePart(object): self.status = Status.READY def setup_start(self, global_config, parts): - substitutions = {name: p.path for name, p in parts.items() if p.is_finished()} + substitutions = dict((name, p.path) for name, p in parts.items() if p.is_finished()) substitutions["configdir"] = global_config.config_dir config = kobo.conf.PyConfigParser()