852 break |
852 break |
853 |
853 |
854 lineIndex += 1 |
854 lineIndex += 1 |
855 found = False |
855 found = False |
856 |
856 |
|
857 if line.endswith("__NO-TASK__"): |
|
858 # ignore potential task marker |
|
859 continue |
|
860 |
857 for taskType, taskMarkers in markers.items(): |
861 for taskType, taskMarkers in markers.items(): |
858 for taskMarker in taskMarkers: |
862 for taskMarker in taskMarkers: |
859 index = line.find(taskMarker) |
863 index = line.find(taskMarker) |
860 if index > -1: |
864 if index > -1: |
861 task = line[index:] |
865 task = line[index:] |