diff options
| author | Georg Brandl <georg@python.org> | 2011-01-08 15:40:35 +0100 |
|---|---|---|
| committer | Georg Brandl <georg@python.org> | 2011-01-08 15:40:35 +0100 |
| commit | 16161ab30857b80d47590c375dfc76e1be9695a9 (patch) | |
| tree | b7c30a18ff879c0e18e570b403a4574625ded084 /sphinx/setup_command.py | |
| parent | 41ae36fe22686928eb8b65278e7392354779e6fb (diff) | |
| parent | 2f56897e8ef59c20b1a7bebac6131a7a48acfa67 (diff) | |
| download | sphinx-16161ab30857b80d47590c375dfc76e1be9695a9.tar.gz | |
merge with 1.0
Diffstat (limited to 'sphinx/setup_command.py')
| -rw-r--r-- | sphinx/setup_command.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py index 4cae738d..ebbcf27b 100644 --- a/sphinx/setup_command.py +++ b/sphinx/setup_command.py @@ -137,10 +137,7 @@ class BuildDoc(Command): freshenv=self.fresh_env) try: - if self.all_files: - app.builder.build_all() - else: - app.builder.build_update() + app.build(force_all=self.all_files) except Exception, err: from docutils.utils import SystemMessage if isinstance(err, SystemMessage): |
