From 7c55f84278e2a17091f57b4733502d7dd0c9de95 Mon Sep 17 00:00:00 2001 From: Alexander Kosenkov Date: Wed, 18 Sep 2013 03:27:44 +0200 Subject: [PATCH] Search is broken because of an extra line in git output --- docs/sphinx/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sphinx/conf.py b/docs/sphinx/conf.py index 05278bb..9e2889c 100644 --- a/docs/sphinx/conf.py +++ b/docs/sphinx/conf.py @@ -63,7 +63,7 @@ except: # The full version, including alpha/beta/rc tags. try: - release = version + ' git=' + subprocess.check_output(["git", "describe", "--always"]) + release = version + ' git=' + subprocess.check_output(["git", "describe", "--always"]).strip() except subprocess.CalledProcessError: release = version + ' gitless' -- 2.50.1