diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2016-02-14 18:22:19 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2016-02-14 18:22:28 +0100 |
commit | 121f6af3a75e4f48acf31b1af2386cdd5bf91e00 (patch) | |
tree | 0e673df38937064a73589a6f8da47f91846db558 /git/util.py | |
parent | 55db0fcce5ec5a92d2bdba8702bdfee9a8bca93d (diff) | |
download | gitpython-121f6af3a75e4f48acf31b1af2386cdd5bf91e00.tar.gz |
fix(cmd): allow improved errors during clone operation
Related to #383
Diffstat (limited to 'git/util.py')
-rw-r--r-- | git/util.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |