We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ae67af4 + 53f2179 commit 7355927Copy full SHA for 7355927
readthedocs/doc_builder/backends/sphinx.py
@@ -65,10 +65,10 @@ def append_conf(self, **kwargs):
65
66
project = self.project
67
# Open file for appending.
68
- outfile_path = project.conf_file(self.version.slug)
69
try:
+ outfile_path = project.conf_file(self.version.slug)
70
outfile = codecs.open(outfile_path, encoding='utf-8', mode='a')
71
- except IOError:
+ except (ProjectImportError, IOError):
72
trace = sys.exc_info()[2]
73
raise ProjectImportError('Conf file not found'), None, trace
74
0 commit comments