Adds List as a magic keyword to get ignored

pull/15/head
Benjamin Van Ryseghem 2014-08-07 22:27:32 +02:00
parent 0fc8b1e436
commit d3f6745667
1 changed files with 2 additions and 2 deletions

View File

@ -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):