diff --git a/manic/sourcetree.py b/manic/sourcetree.py index 4796d3d00..65d6e2f11 100644 --- a/manic/sourcetree.py +++ b/manic/sourcetree.py @@ -338,7 +338,6 @@ def checkout(self, verbosity, load_all, load_comp=None): tmp_comps = self._required_compnames load_comps = self.order_comps_by_local_path(tmp_comps) - # checkout the primary externals for comp in load_comps: if verbosity < VERBOSITY_VERBOSE: @@ -363,10 +362,8 @@ def order_comps_by_local_path(self, comps_in): local_paths = [] for comp in comps_in: local_paths.append(self._all_components[comp].get_local_path()) - local_paths = list(set(local_paths)) for path in sorted(local_paths, key=len): for comp in comps_in: if self._all_components[comp].get_local_path() == path: comps_out.append(comp) - comps_out = list(set(comps_out)) return comps_out