From 121f6af3a75e4f48acf31b1af2386cdd5bf91e00 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 14 Feb 2016 18:22:19 +0100 Subject: fix(cmd): allow improved errors during clone operation Related to #383 --- git/util.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git/util.py') diff --git a/git/util.py b/git/util.py index 00f03f6f..bfcb8941 100644 --- a/git/util.py +++ b/git/util.py @@ -150,9 +150,9 @@ def get_user_id(): return "%s@%s" % (getpass.getuser(), platform.node()) -def finalize_process(proc): +def finalize_process(proc, **kwargs): """Wait for the process (clone, fetch, pull or push) and handle its errors accordingly""" - proc.wait() + proc.wait(**kwargs) #} END utilities -- cgit v1.2.1