From a7b5abeab5c0055abd070625ee3b93c6afbe842c Mon Sep 17 00:00:00 2001
From: Jameson Graef Rollins <jameson.rollins@ligo.org>
Date: Wed, 24 Jun 2020 14:52:26 -0700
Subject: [PATCH] test: tweak formatting

---
 gwinc/test/__main__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gwinc/test/__main__.py b/gwinc/test/__main__.py
index cfe52ed9..092d0c60 100644
--- a/gwinc/test/__main__.py
+++ b/gwinc/test/__main__.py
@@ -44,7 +44,7 @@ def git_find_upstream_name():
         ).stdout
     except subprocess.CalledProcessError as e:
         logging.error(e.stderr.split('\n')[0])
-    for remote in remotes.split('\n'):
+    for remote in remotes.strip().split('\n'):
         name, url, fp = remote.split()
         if 'gwinc/pygwinc.git' in url:
             return name
-- 
GitLab