Invoke version_string in watcher/version.py directly

There is already define version_string in version.py
So we don't need generate version in other files, just call it.

Change-Id: I7d8294860523eedad92e213ad00569829e120c39
This commit is contained in:
zhuzeyu
2017-09-27 18:01:04 +08:00
committed by Zeyu Zhu
parent fa7749ac8f
commit be69ebd8bd
4 changed files with 5 additions and 5 deletions

View File

@@ -63,7 +63,7 @@ copyright = u'2016, Watcher developers'
# The short X.Y version.
version = watcher_version.version_info.release_string()
# The full version, including alpha/beta/rc tags.
release = watcher_version.version_info.version_string()
release = watcher_version.version_string
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.