Skip to content
Snippets Groups Projects
Commit 9014ffea authored by Filippo Cremonese's avatar Filippo Cremonese
Browse files

Removed extra call to split()

parent 82ca9782
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment