projects
/
kamaki
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c40f024
)
Stop doc building from crushing if no objpool
author
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Mon, 22 Apr 2013 13:41:45 +0000
(16:41 +0300)
committer
Stavros Sachtouris
<saxtouri@admin.grnet.gr>
Mon, 22 Apr 2013 13:41:45 +0000
(16:41 +0300)
docs/conf.py
patch
|
blob
|
history
diff --git
a/docs/conf.py
b/docs/conf.py
index
adebf91
..
8aa6b79
100644
(file)
--- a/
docs/conf.py
+++ b/
docs/conf.py
@@
-60,8
+60,11
@@
copyright = u'2013, GRNET'
# The short X.Y version.
version = '0.8'
# The full version, including alpha/beta/rc tags.
-import kamaki
-release = kamaki.__version__
+try:
+ import kamaki
+ release = kamaki.__version__
+except ImportError:
+ release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.