diff options
-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): |