~comcloudway/builds.sr.ht

10ac64c1dce5d3ed072953a58ccb84fe0994a10b — Francis Dinh 5 years ago b875482
Fix formatting of duplicate task error message
1 files changed, 1 insertions(+), 1 deletions(-)

M buildsrht/manifest.py
M buildsrht/manifest.py => buildsrht/manifest.py +1 -1
@@ 95,7 95,7 @@ class Manifest:
        self.tasks = [Task(t) for t in tasks]
        for task in self.tasks:
            if len([t for t in self.tasks if t.name == task.name]) != 1:
                raise Exception("Duplicate task '{}'", task.name)
                raise Exception(f"Duplicate task '{task.name}'")
        triggers = self.yaml.get("triggers")
        self.triggers = [Trigger(t) for t in triggers] if triggers else []