summaryrefslogtreecommitdiff
path: root/sphinx/setup_command.py
diff options
context:
space:
mode:
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r--sphinx/setup_command.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py
index f263f8df1..ca0cdd88a 100644
--- a/sphinx/setup_command.py
+++ b/sphinx/setup_command.py
@@ -174,6 +174,7 @@ class BuildDoc(Command):
if self.copyright:
confoverrides['copyright'] = self.copyright
+ app = None
try:
with docutils_namespace():
app = Sphinx(self.source_dir, self.config_dir,