From c874af6336a34c93ded4a256475267efa5f5b9e9 Mon Sep 17 00:00:00 2001 From: Bruce Bigirwenkya Date: Tue, 4 Mar 2025 17:29:57 +0300 Subject: [PATCH] Remove 3 second timeout for _get_branches spawn call --- lib50/_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib50/_api.py b/lib50/_api.py index 95e4b6d..b0e345e 100644 --- a/lib50/_api.py +++ b/lib50/_api.py @@ -798,7 +798,7 @@ def _get_branches(self): else: cmd = f"git ls-remote --heads {self.origin}" try: - with spawn(cmd, timeout=3) as child: + with spawn(cmd) as child: output = child.read().strip().split("\r\n") except pexpect.TIMEOUT: if "Username for" in child.buffer: