mirror of
https://github.com/nikdoof/NextAction.git
synced 2025-12-14 10:12:21 +00:00
Adds List as a magic keyword to get ignored
This commit is contained in:
@@ -164,10 +164,10 @@ class Project(object):
|
|||||||
return self._subProjects
|
return self._subProjects
|
||||||
|
|
||||||
def IsSequential(self):
|
def IsSequential(self):
|
||||||
startWithSomeday = self.name.startswith('Someday')
|
startsWithKeyword = self.name.startswith('Someday') or self.name.startswith('List - ')
|
||||||
endsWithEqual = self.name.endswith('=')
|
endsWithEqual = self.name.endswith('=')
|
||||||
parentSequential = self.parent == None or self.parent.IsSequential()
|
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
|
return seq
|
||||||
|
|
||||||
def IsParallel(self):
|
def IsParallel(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user