diff options
author | Dirkjan Ochtman <djc@apache.org> | 2013-09-20 11:52:59 +0200 |
---|---|---|
committer | Alexander Shorin <kxepal@apache.org> | 2013-09-27 22:01:49 +0400 |
commit | fe961f83816d3da5d8e03c98ef07b0fc06536454 (patch) | |
tree | 0c852179693b7c2325163305d54071526e4fe517 | |
parent | 9454b50af5671cc10f28e6885c6aadce7f606637 (diff) | |
download | couchdb-fe961f83816d3da5d8e03c98ef07b0fc06536454.tar.gz |
fix problem when LOCAL_VERSION_RELEASE isn't set
-rw-r--r-- | share/doc/src/conf.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/doc/src/conf.py b/share/doc/src/conf.py index bfdcd9930..f60e5456b 100644 --- a/share/doc/src/conf.py +++ b/share/doc/src/conf.py @@ -51,7 +51,7 @@ release = '.'.join([ _info['LOCAL_VERSION_REVISION'] ]) + ( _info['LOCAL_VERSION_STAGE'] + '' + _info['LOCAL_VERSION_RELEASE'] - if _info['LOCAL_VERSION_RELEASE'] == '%revision%' + if _info.get('LOCAL_VERSION_RELEASE') == '%revision%' else '-dev' ) |