diff --git a/orchestra/actions/clone.py b/orchestra/actions/clone.py index 43e70b4db73766bb9718578dc4f02fe4ed8ee668..57f12d199955a1e0c42bb9c99ed9a0753c4ad7be 100644 --- a/orchestra/actions/clone.py +++ b/orchestra/actions/clone.py @@ -35,7 +35,7 @@ class CloneAction(Action): @lru_cache() def remotes(self): result = run_script('git -C "$ORCHESTRA_DOTDIR" remote show', environment=self.environment, quiet=True) - return result.stdout.decode("utf-8").split("\n").strip().split("\n") + return result.stdout.decode("utf-8").strip().split("\n") def remote_base_urls(self): # TODO: the remote is not necessarily called origin, and there might be more than one