We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1b9ed03 + 32c2386 commit 61db3c1Copy full SHA for 61db3c1
readthedocs/doc_builder/backends/sphinx.py
@@ -176,11 +176,10 @@ def append_conf(self, **__):
176
self.config_file or self.project.conf_file(self.version.slug)
177
)
178
outfile = codecs.open(self.config_file, encoding='utf-8', mode='a')
179
- except (ProjectConfigurationError, IOError):
180
- trace = sys.exc_info()[2]
+ except IOError:
181
raise ProjectConfigurationError(
182
- ProjectConfigurationError.NOT_FOUND,
183
- ).with_traceback(trace)
+ ProjectConfigurationError.NOT_FOUND
+ )
184
185
# Append config to project conf file
186
tmpl = template_loader.get_template('doc_builder/conf.py.tmpl')
0 commit comments