diff --git a/conans/client/graph/graph_binaries.py b/conans/client/graph/graph_binaries.py index f87d9115a17..c7da8ec0ef4 100644 --- a/conans/client/graph/graph_binaries.py +++ b/conans/client/graph/graph_binaries.py @@ -98,9 +98,9 @@ def _evaluate_cache_pkg(self, node, package_layout, pref, metadata, remote, remo def _evaluate_remote_pkg(self, node, pref, remote, remotes): remote_info = None - if remote: + if remotes.selected: try: - remote_info, pref = self._remote_manager.get_package_info(pref, remote) + remote_info, pref = self._remote_manager.get_package_info(pref, remotes.selected) except NotFoundException: pass except Exception: