From 9c22117922eea04060aacc7882b35cb6ead818a4 Mon Sep 17 00:00:00 2001 From: louisabraham Date: Tue, 19 Aug 2025 14:51:56 +0200 Subject: [PATCH] partial fix to #404 --- piku.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/piku.py b/piku.py index cba7c7c..27bd4f8 100755 --- a/piku.py +++ b/piku.py @@ -299,6 +299,8 @@ def parse_procfile(filename): for i in range(len(limits)): if int(matches[i].replace("*/", "").replace("*", "1")) > limits[i]: raise ValueError + if kind in workers: + echo("Warning: found multiple {} workers, only the last one will be used.".format(kind), fg='yellow') workers[kind] = command except Exception: echo("Warning: misformatted Procfile entry '{}' at line {}".format(line, line_number), fg='yellow')