remove duplicated load_remotes
@@ -1137,8 +1137,6 @@ class ConanAPIV1(object):
@api_method
def editable_add(self, path, reference, layout, cwd):
- remotes = self._cache.registry.load_remotes()
- self.python_requires.enable_remotes(remotes=remotes)
# Retrieve conanfile.py from target_path
target_path = _get_conanfile_path(path=path, cwd=cwd, py=True)
