summaryrefslogtreecommitdiffstats
path: root/doc/source
diff options
context:
space:
mode:
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/conf.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/source/conf.py b/doc/source/conf.py
index 34c4ec288..996dfb0a7 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -60,11 +60,12 @@ copyright = u'2010, United States Government as represented by the Administrator
# |version| and |release|, also used in various other places throughout the
# built documents.
#
-import nova.version
+from nova import version as nova_version
+#import nova.version
# The full version, including alpha/beta/rc tags.
-release = nova.version.version_string()
+release = nova_version.version_string()
# The short X.Y version.
-version = nova.version.canonical_version_string()
+version = nova_version.canonical_version_string()
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.