Fix release notes gate job failure

There is import error when generating releasenotes after
536ceb370, just fix that.

Closes-Bug: #1640383

Change-Id: I467f7389c0ba747338a151378f01997a1c61b866
This commit is contained in:
ChangBo Guo(gcb) 2016-11-09 13:58:35 +08:00
parent c70b1ce0b4
commit 645a5e05ea

View File

@ -63,11 +63,11 @@ copyright = u'2016, taskflow Developers'
# built documents.
#
# The short X.Y version.
from taskflow.version import version_info as taskflow_version
from taskflow import version as taskflow_version
# The full version, including alpha/beta/rc tags.
release = taskflow_version.version_string_with_vcs()
release = taskflow_version.version_string()
# The short X.Y version.
version = taskflow_version.canonical_version_string()
version = release
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.