remove restriction in worker names

feature/repl
Rui Carmo 2016-11-20 10:05:35 +00:00
rodzic 7fbb88f514
commit c5655bdfba
1 zmienionych plików z 2 dodań i 3 usunięć

Wyświetl plik

@ -164,10 +164,9 @@ def parse_procfile(filename):
for line in procfile:
try:
kind, command = map(lambda x: x.strip(), line.split(":", 1))
if kind in ['web', 'worker', 'wsgi']:
workers[kind] = command
except:
echo("Warning: unrecognized Procfile declaration '%s'" % line, fg='yellow')
echo("Warning: unrecognized Procfile entry '%s'" % line, fg='yellow')
if not len(workers):
return {}
# WSGI trumps regular web workers