bugfix for docs

This commit is contained in:
Stuart Mitchell
2015-03-15 10:27:16 +00:00
parent cf2788c9f4
commit fc150b9c0b

View File

@@ -49,7 +49,9 @@ copyright = '2009-, pulp documentation team.'
# built documents.
#
# The full version, including alpha/beta/rc tags.
release = open(os.path.join('..','..','VERSION')).read().strip()
import pulp
release = pulp.VERSION
# The short X.Y version.
version = release[:3]