mirror of
https://github.com/nikdoof/NextAction.git
synced 2025-12-14 18:22:17 +00:00
Fix issue with sub project of parallel project
This commit is contained in:
@@ -162,12 +162,20 @@ class Project(object):
|
|||||||
order = order + 1
|
order = order + 1
|
||||||
|
|
||||||
return self._subProjects
|
return self._subProjects
|
||||||
|
|
||||||
|
def IsIgnored(self):
|
||||||
|
return self.name.startswith('Someday') or self.name.startswith('List - ')
|
||||||
|
|
||||||
def IsSequential(self):
|
def IsSequential(self):
|
||||||
startsWithKeyword = self.name.startswith('Someday') or self.name.startswith('List - ')
|
ignored = self.IsIgnored()
|
||||||
endsWithEqual = self.name.endswith('=')
|
endsWithEqual = self.name.endswith('=')
|
||||||
parentSequential = self.parent == None or self.parent.IsSequential()
|
validParent = self.parent == None or not self.parent.IsIgnored()
|
||||||
seq = ((not startsWithKeyword) and (not endsWithEqual)) and parentSequential
|
seq = ((not ignored) and (not endsWithEqual)) and validParent
|
||||||
|
# if self.name .startsWith('Payer Camille'):
|
||||||
|
# print startsWithKeyword
|
||||||
|
# print endsWithEqual
|
||||||
|
# print parentSequential
|
||||||
|
# print seq
|
||||||
return seq
|
return seq
|
||||||
|
|
||||||
def IsParallel(self):
|
def IsParallel(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user