コード例 #1
0
ファイル: TopicContinuum.py プロジェクト: apre/rmtoo
 def __init__(self, topic_continuum):
     '''Initialize the iterator.
        The iterator points to a list of the vcs_id and the appropriate 
        topic set.
        Please note: the current implementation of this iterator cannot
        handle changes.'''
     self.__objs = []
     self.__topic_continuum = topic_continuum
     for vcs_id in topic_continuum.get_vcs_commit_ids():
         self.__objs.append([vcs_id, topic_continuum.get_topic_set(
                                                 vcs_id.get_commit())])
     GenIterator.__init__(self, self.__objs.__iter__())
コード例 #2
0
 def __init__(self, topic_continuum):
     '''Initialize the iterator.
        The iterator points to a list of the vcs_id and the appropriate 
        topic set.
        Please note: the current implementation of this iterator cannot
        handle changes.'''
     self.__objs = []
     self.__topic_continuum = topic_continuum
     for vcs_id in topic_continuum.get_vcs_commit_ids():
         self.__objs.append(
             [vcs_id,
              topic_continuum.get_topic_set(vcs_id.get_commit())])
     GenIterator.__init__(self, self.__objs.__iter__())
コード例 #3
0
ファイル: TopicContinuumSet.py プロジェクト: kown7/rmtoo
 def __init__(self, topic_continuum_set):
     '''Initialize the iterator.'''
     GenIterator.__init__(
         self, iteritems(topic_continuum_set.get_continuum_dict()))
コード例 #4
0
ファイル: RequirementSet.py プロジェクト: CrypticGator/rmtoo
 def __init__(self, requirement_set):
     GenIterator.__init__(
         self, requirement_set.get_master_nodes().__iter__())
コード例 #5
0
 def __init__(self, topic_continuum_set):
     """Initialize the iterator."""
     GenIterator.__init__(self, topic_continuum_set.get_continuum_dict().iteritems())
コード例 #6
0
 def __init__(self, requirement_set):
     GenIterator.__init__(
         self, requirement_set.get_master_nodes().__iter__())