for component in self.Cnf.SubTree("Component").List():
component_id = self.projectB.get_component_id(component)
c.execute(loc_add, [location, component_id, archive_id, location_type])
for component in self.Cnf.SubTree("Component").List():
component_id = self.projectB.get_component_id(component)
c.execute(loc_add, [location, component_id, archive_id, location_type])