kopia lustrzana https://github.com/piku/piku
Keep linter happy
rodzic
0d6d4093e8
commit
9ea5d2b008
2
piku.py
2
piku.py
|
@ -287,7 +287,7 @@ def parse_procfile(filename):
|
||||||
matches = match(CRON_REGEXP, command).groups()
|
matches = match(CRON_REGEXP, command).groups()
|
||||||
if matches:
|
if matches:
|
||||||
for i in range(len(limits)):
|
for i in range(len(limits)):
|
||||||
if int(matches[i+1].replace("*/", "").replace("*", "1")) > limits[i]:
|
if int(matches[i + 1].replace("*/", "").replace("*", "1")) > limits[i]:
|
||||||
raise ValueError
|
raise ValueError
|
||||||
workers[kind] = command
|
workers[kind] = command
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|
Ładowanie…
Reference in New Issue