Skip to content

Commit 8388f19

Browse files
committed
trailing spaces
1 parent b6318d9 commit 8388f19

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sphinx/builders/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -420,16 +420,16 @@ def read(self) -> list[str]:
420420
self._read_serial(docnames)
421421

422422
if self.config.root_doc not in self.env.all_docs:
423-
if ("**" in self.config.exclude_patterns or
423+
if ("**" in self.config.exclude_patterns or
424424
"**.rst" in self.config.exclude_patterns):
425-
raise SphinxError('customized exclude_patterns is set ' +
425+
raise SphinxError('customized exclude_patterns is set ' +
426426
'and root file %s is in the exclude_patterns' %
427427
self.env.doc2path(self.config.root_doc))
428428
elif "**" not in self.config.include_patterns:
429-
raise SphinxError('customized include_patterns is set, ' +
429+
raise SphinxError('customized include_patterns is set, ' +
430430
'but root file %s is not in the include_patterns' %
431431
self.env.doc2path(self.config.root_doc))
432-
else:
432+
else:
433433
raise SphinxError('root file %s not found' %
434434
self.env.doc2path(self.config.root_doc))
435435

0 commit comments

Comments
 (0)