Permalink
Browse files

doc: strip newline from PyBayes version

...which breaks Sphinx inventory.
  • Loading branch information...
1 parent 0efa257 commit dfd59f3c803505e642d11976b11db65961580e32 @strohel committed May 4, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 doc/conf.py
View
2 doc/conf.py
@@ -48,7 +48,7 @@
# built documents.
#
# The short X.Y version.
-version = subprocess.check_output([sys.executable, os.path.join(os.path.dirname(os.path.abspath('.')), 'setup.py'), '--version'])
+version = subprocess.check_output([sys.executable, os.path.join(os.path.dirname(os.path.abspath('.')), 'setup.py'), '--version']).strip()
# The full version, including alpha/beta/rc tags.
release = version

0 comments on commit dfd59f3

Please sign in to comment.