Creates CallEdge from call file (i.e. trigger-builds)

        Returns a list of calls

def extract_call(self, call, from_name, settings):
        '''
        Creates CallEdge from call file (i.e. trigger-builds)

        Returns a list of calls
        '''

        call = defaultdict(lambda: None, call[0])

        try:
            call['section'] = settings['section']
        except KeyError:
            call['section'] = ''

        project = call['project']

        # If there is more than one call in a single file
        if type(project) == list:
            calls = []

            for name in project:
                calls.append(self.create_call(name, call, from_name))

            return calls
        else:
            return [self.create_call(project, call, from_name)]