summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2016-06-02 06:44:56 +0200
committerSebastian Thiel <byronimo@gmail.com>2016-06-02 06:44:56 +0200
commite0b21f454ea43a5f67bc4905c641d95f8b6d96fd (patch)
tree7cd0020f7674ca84472f94a2aafadcdf9afc4ceb
parentfde89f2a65c2503e5aaf44628e05079504e559a0 (diff)
parent85e78ca3d9decf8807508b41dbe5335ffb6050a7 (diff)
downloadgitpython-e0b21f454ea43a5f67bc4905c641d95f8b6d96fd.tar.gz
Merge pull request #460 from ddanier/autointerrupt_del_no_os_kill
Make sure os is not even partly destroyed
-rw-r--r--git/cmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/cmd.py b/git/cmd.py
index c29e3485..a8afc144 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -287,7 +287,7 @@ class Git(LazyMixin):
return
# can be that nothing really exists anymore ...
- if os is None:
+ if os is None or os.kill is None:
return
# try to kill it