예제 #1
0
파일: base.py 프로젝트: papagr/TheLMA
 def _get_ids_for_pool(self, md_pool):
     """
     If a floating placeholder occurs for the first time we have dictionary
     instead of a pool.
     """
     if isinstance(md_pool, dict):
         id_map = dict()
         for iso_label, pool in md_pool.iteritems():
             ids = BaseRackVerifier._get_ids_for_pool(self, pool)
             id_map[iso_label] = ids
         return id_map
     else:
         return BaseRackVerifier._get_ids_for_pool(self, md_pool)
예제 #2
0
파일: base.py 프로젝트: helixyte/TheLMA
 def _get_ids_for_pool(self, md_pool):
     """
     If a floating placeholder occurs for the first time we have dictionary
     instead of a pool.
     """
     if isinstance(md_pool, dict):
         id_map = dict()
         for iso_label, pool in md_pool.iteritems():
             ids = BaseRackVerifier._get_ids_for_pool(self, pool)
             id_map[iso_label] = ids
         return id_map
     else:
         return BaseRackVerifier._get_ids_for_pool(self, md_pool)