summaryrefslogtreecommitdiff
path: root/sphinx/builder.py
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-08-04 21:48:12 +0000
committerGeorg Brandl <georg@python.org>2008-08-04 21:48:12 +0000
commit0a15003d0c0a628c69e5cd9aeb3a4944f97bd14e (patch)
tree44d69ece044ca959543e230934020251afee9d89 /sphinx/builder.py
parent69065afad3d29bfdaf9063a604b8c0dade5ff2fd (diff)
downloadsphinx-git-0a15003d0c0a628c69e5cd9aeb3a4944f97bd14e.tar.gz
Merged revisions 65498-65499,65526 via svnmerge from
svn+ssh://pythondev@svn.python.org/doctools/branches/0.4.x ........ r65498 | georg.brandl | 2008-08-04 17:07:33 +0000 (Mon, 04 Aug 2008) | 2 lines Absolutize doctreedir when parsing from commandline. ........ r65499 | georg.brandl | 2008-08-04 17:17:49 +0000 (Mon, 04 Aug 2008) | 4 lines If output and/or doctree directory are within the source directory, except them from the search for source files. ........ r65526 | georg.brandl | 2008-08-04 21:46:41 +0000 (Mon, 04 Aug 2008) | 2 lines Let the test suite run the text, linkcheck, and changes builders. ........
Diffstat (limited to 'sphinx/builder.py')
-rw-r--r--sphinx/builder.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sphinx/builder.py b/sphinx/builder.py
index 4e4f0bf9f..0af8e8cd3 100644
--- a/sphinx/builder.py
+++ b/sphinx/builder.py
@@ -1030,6 +1030,9 @@ class ChangesBuilder(Builder):
libchanges = {}
apichanges = []
otherchanges = {}
+ if version not in self.env.versionchanges:
+ self.info(bold('no changes in this version.'))
+ return
self.info(bold('writing summary file...'))
for type, docname, lineno, module, descname, content in \
self.env.versionchanges[version]: