2623 # now search tasks and record them |
2623 # now search tasks and record them |
2624 lineIndex = -1 |
2624 lineIndex = -1 |
2625 for line in txtList: |
2625 for line in txtList: |
2626 lineIndex += 1 |
2626 lineIndex += 1 |
2627 shouldBreak = False |
2627 shouldBreak = False |
|
2628 |
|
2629 if line.endswith("__NO-TASK__"): |
|
2630 # ignore potential task marker |
|
2631 continue |
2628 |
2632 |
2629 for taskType, taskMarkers in markers.items(): |
2633 for taskType, taskMarkers in markers.items(): |
2630 for taskMarker in taskMarkers: |
2634 for taskMarker in taskMarkers: |
2631 index = line.find(taskMarker) |
2635 index = line.find(taskMarker) |
2632 if index > -1: |
2636 if index > -1: |