TaskViewer: amended another place to check for '__NO-TASK__' marker.

Sun, 09 Sep 2018 19:30:54 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Sun, 09 Sep 2018 19:30:54 +0200
changeset 6494
72e3d61e5a20
parent 6493
b64d6d0b4175
child 6495
6e73d31af3af

TaskViewer: amended another place to check for '__NO-TASK__' marker.

Tasks/TaskViewer.py file | annotate | diff | comparison | revisions
diff -r b64d6d0b4175 -r 72e3d61e5a20 Tasks/TaskViewer.py
--- a/Tasks/TaskViewer.py	Sun Sep 09 13:13:34 2018 +0200
+++ b/Tasks/TaskViewer.py	Sun Sep 09 19:30:54 2018 +0200
@@ -741,6 +741,10 @@
                     lineIndex += 1
                     shouldBreak = False
                     
+                    if line.endswith("__NO-TASK__"):
+                        # ignore potential task marker
+                        continue
+                    
                     for taskType, taskMarkers in markers.items():
                         for taskMarker in taskMarkers:
                             index = line.find(taskMarker)

eric ide

mercurial