From d3f6745667b00a2470ea86fd51ea651b20ba8487 Mon Sep 17 00:00:00 2001 From: Benjamin Van Ryseghem Date: Thu, 7 Aug 2014 22:27:32 +0200 Subject: [PATCH] Adds List as a magic keyword to get ignored --- nextaction.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nextaction.py b/nextaction.py index f152cfe..5ed2955 100755 --- a/nextaction.py +++ b/nextaction.py @@ -164,10 +164,10 @@ class Project(object): return self._subProjects def IsSequential(self): - startWithSomeday = self.name.startswith('Someday') + startsWithKeyword = self.name.startswith('Someday') or self.name.startswith('List - ') endsWithEqual = self.name.endswith('=') parentSequential = self.parent == None or self.parent.IsSequential() - seq = ((not startWithSomeday) and (not endsWithEqual)) and parentSequential + seq = ((not startsWithKeyword) and (not endsWithEqual)) and parentSequential return seq def IsParallel(self):