Fix regexp

This commit is contained in:
Michael Simacek 2015-09-03 15:59:45 +00:00
parent 0f75c0caa9
commit b5a4d2f5e3

View file

@ -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: