about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2019-06-06 20:50:29 +0200
committertoonn <toonn@toonn.io>2019-06-06 20:50:29 +0200
commit2021c924f1bbed02cc47ebcb21d11c20e8ab5f86 (patch)
treeaf9d3dc9bab9b6f529b2996ece98b56478ecedbd
parent4486ecb940e2fbda989df051bb1df7f471bf01f1 (diff)
parentf07425d4e241a8567f0ea31d996946103725f567 (diff)
downloadranger-2021c924f1bbed02cc47ebcb21d11c20e8ab5f86.tar.gz
Merge branch 'version_helper'
-rw-r--r--ranger/__init__.py3
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):