]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
heat docs : Fix version string issue
authorSteven Hardy <shardy@redhat.com>
Mon, 4 Feb 2013 14:23:07 +0000 (14:23 +0000)
committerSteven Hardy <shardy@redhat.com>
Mon, 4 Feb 2013 14:23:07 +0000 (14:23 +0000)
Fix issue with release/version strings in doc build config
which was causing doc builds to fail with an error.

Fixes bug 1115269

Change-Id: Ia02d52f502d808d758a541e84056d5ac94aff8b8
Signed-off-by: Steven Hardy <shardy@redhat.com>
doc/source/conf.py

index 5ed01cf6d2c337fbd57a47879dd99613727d82e5..37cdabfbd478f1c5640c7e3243dba54437a7637f 100644 (file)
@@ -53,9 +53,9 @@ copyright = u'2012, Heat Developers'
 
 from heat import version as heat_version
 # The full version, including alpha/beta/rc tags.
-release = heat_version.version_string()
+release = heat_version.version_info.release_string()
 # The short X.Y version
-version = heat_version.canonical_version_string()
+version = heat_version.version_info.version_string()
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.