Fix regexp
This commit is contained in:
parent
0f75c0caa9
commit
b5a4d2f5e3
1 changed files with 1 additions and 1 deletions
|
@ -171,7 +171,7 @@
|
||||||
|
|
||||||
- name: HOTFIX datetime error on unfinished tasks with finished parent
|
- name: HOTFIX datetime error on unfinished tasks with finished parent
|
||||||
lineinfile: dest="/usr/lib/python2.7/site-packages/koschei/backend.py"
|
lineinfile: dest="/usr/lib/python2.7/site-packages/koschei/backend.py"
|
||||||
regexp="finished=datetime.fromtimestamp(task['completion_ts']),"
|
regexp="finished=datetime\.fromtimestamp\(task\['completion_ts'\]\),"
|
||||||
line="finished=datetime.fromtimestamp(task['completion_ts']) if task['completion_ts'] else None,"
|
line="finished=datetime.fromtimestamp(task['completion_ts']) if task['completion_ts'] else None,"
|
||||||
when: env == "production"
|
when: env == "production"
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue