summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-11-17 22:58:11 +0100
committerGeorg Brandl <georg@python.org>2010-11-17 22:58:11 +0100
commit1cea10643d7545dde25c1c7d3fbe55b70c4edd3d (patch)
tree065571fc1d4cd2a1b445d189585499d70742515f
parente0f2c2e7e9c09a7bc3524ecda0763709c6e8549d (diff)
downloadsphinx-git-1cea10643d7545dde25c1c7d3fbe55b70c4edd3d.tar.gz
Do not require build dir to exist.
-rw-r--r--sphinx/setup_command.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index 939fbb217..929408204 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -110,7 +110,6 @@ class BuildDoc(Command):
build = self.get_finalized_command('build')
self.build_dir = os.path.join(build.build_base, 'sphinx')
self.mkpath(self.build_dir)
- self.ensure_dirname('build_dir')
self.doctree_dir = os.path.join(self.build_dir, 'doctrees')
self.mkpath(self.doctree_dir)
self.builder_target_dir = os.path.join(self.build_dir, self.builder)