diff options
author | toonn <toonn@toonn.io> | 2019-06-06 20:50:29 +0200 |
---|---|---|
committer | toonn <toonn@toonn.io> | 2019-06-06 20:50:29 +0200 |
commit | 2021c924f1bbed02cc47ebcb21d11c20e8ab5f86 (patch) | |
tree | af9d3dc9bab9b6f529b2996ece98b56478ecedbd | |
parent | 4486ecb940e2fbda989df051bb1df7f471bf01f1 (diff) | |
parent | f07425d4e241a8567f0ea31d996946103725f567 (diff) | |
download | ranger-2021c924f1bbed02cc47ebcb21d11c20e8ab5f86.tar.gz |
Merge branch 'version_helper'
-rw-r--r-- | ranger/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ranger/__init__.py b/ranger/__init__.py index 25087ea5..fabaeae9 100644 --- a/ranger/__init__.py +++ b/ranger/__init__.py @@ -24,7 +24,8 @@ def version_helper(): git_describe = subprocess.Popen(['git', 'describe'], universal_newlines=True, cwd=RANGERDIR, - stdout=subprocess.PIPE) + stdout=subprocess.PIPE, + stderr=subprocess.PIPE) (git_description, _) = git_describe.communicate() version_string = version_string.format(git_description.strip('\n')) except (OSError, subprocess.CalledProcessError): |