summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
Diffstat (limited to 'project.py')
-rw-r--r--project.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/project.py b/project.py
index 028deb5f..1245fa2a 100644
--- a/project.py
+++ b/project.py
@@ -1874,10 +1874,8 @@ class Project(object):
1874 1874
1875 ok = False 1875 ok = False
1876 for _i in range(2): 1876 for _i in range(2):
1877 gitcmd = GitCommand(self, cmd, bare=True, capture_stderr=True, 1877 gitcmd = GitCommand(self, cmd, bare=True, ssh_proxy=ssh_proxy)
1878 ssh_proxy=ssh_proxy)
1879 ret = gitcmd.Wait() 1878 ret = gitcmd.Wait()
1880 print(gitcmd.stderr, file=sys.stderr, end='')
1881 if ret == 0: 1879 if ret == 0:
1882 ok = True 1880 ok = True
1883 break 1881 break
@@ -1886,9 +1884,8 @@ class Project(object):
1886 "error:" in gitcmd.stderr and 1884 "error:" in gitcmd.stderr and
1887 "git remote prune" in gitcmd.stderr): 1885 "git remote prune" in gitcmd.stderr):
1888 prunecmd = GitCommand(self, ['remote', 'prune', name], bare=True, 1886 prunecmd = GitCommand(self, ['remote', 'prune', name], bare=True,
1889 capture_stderr=True, ssh_proxy=ssh_proxy) 1887 ssh_proxy=ssh_proxy)
1890 ret = prunecmd.Wait() 1888 ret = prunecmd.Wait()
1891 print(prunecmd.stderr, file=sys.stderr, end='')
1892 if ret: 1889 if ret:
1893 break 1890 break
1894 continue 1891 continue