From: Alexander Kosenkov Date: Wed, 18 Sep 2013 01:27:44 +0000 (+0200) Subject: Search is broken because of an extra line in git output X-Git-Url: https://hydra-www.ietfng.org/gitweb/?a=commitdiff_plain;h=7c55f84278e2a17091f57b4733502d7dd0c9de95;p=dyna2 Search is broken because of an extra line in git output --- 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'