diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2009-12-16 13:59:09 +0100 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2009-12-16 23:05:21 +0100 |
commit | a38a0053d31d0285dd1e6ebe6efc28726a9656cc (patch) | |
tree | b789854ad84b490611c6ee93b95eb3b13d827154 /lib/git/cmd.py | |
parent | 697702e72c4b148e987b873e6094da081beeb7cf (diff) | |
download | gitpython-a38a0053d31d0285dd1e6ebe6efc28726a9656cc.tar.gz |
Added imports for standard locking file classes into the git module
Diffstat (limited to 'lib/git/cmd.py')
-rw-r--r-- | lib/git/cmd.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/git/cmd.py b/lib/git/cmd.py index 9095eb34..e361e772 100644 --- a/lib/git/cmd.py +++ b/lib/git/cmd.py @@ -218,6 +218,8 @@ class Git(object): # Wait for the process to return status = 0 + stdout_value = '' + stderr_value = '' try: if output_stream is None: stdout_value = proc.stdout.read().rstrip() # strip trailing "\n" @@ -232,6 +234,7 @@ class Git(object): stdout_value = output_stream # END stdout handling stderr_value = proc.stderr.read().rstrip() # strip trailing "\n" + # waiting here should do nothing as we have finished stream reading status = proc.wait() finally: |