kopia lustrzana https://github.com/piku/piku
Merge 9c22117922
into e2c61311a0
commit
f10c97ddf4
2
piku.py
2
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')
|
||||
|
|
Ładowanie…
Reference in New Issue