From 9014ffea44853bbec93c849bf6805e3ee06aacf1 Mon Sep 17 00:00:00 2001
From: Filippo Cremonese <filippocremonese@rev.ng>
Date: Tue, 15 Sep 2020 11:20:08 +0200
Subject: [PATCH] Removed extra call to split()

---
 orchestra/actions/clone.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/orchestra/actions/clone.py b/orchestra/actions/clone.py
index 43e70b4..57f12d1 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
-- 
GitLab