def __init__(self, statement, list_path):
    'Initializes a progress object with the given requirements statement.'
    self.statement = statement
    self.threshold = self.statement.get_threshold()
    self.distinct_threshold = self.statement.get_distinct_threshold()
    self.list_path = list_path
    self.children = []
    if (self.statement.requirement is None):
        for (index, child) in enumerate(self.statement.requirements.iterator()):
            self.children.append(RequirementsProgress(child, ((list_path + '.') + str(index))))
Initializes a progress object with the given requirements statement.
def __init__(self, statement, list_path):
    
    self.statement = statement
    self.threshold = self.statement.get_threshold()
    self.distinct_threshold = self.statement.get_distinct_threshold()
    self.list_path = list_path
    self.children = []
    if (self.statement.requirement is None):
        for (index, child) in enumerate(self.statement.requirements.iterator()):
            self.children.append(RequirementsProgress(child, ((list_path + '.') + str(index))))