mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Merge pull request #7781 from brandonhoughton/patch-1
Fix reported dir when throwing ApplicationError
This commit is contained in:
commit
b37675607b
@ -165,7 +165,7 @@ class Sphinx:
|
||||
|
||||
if path.exists(self.outdir) and not path.isdir(self.outdir):
|
||||
raise ApplicationError(__('Output directory (%s) is not a directory') %
|
||||
self.srcdir)
|
||||
self.outdir)
|
||||
|
||||
if self.srcdir == self.outdir:
|
||||
raise ApplicationError(__('Source directory and destination '
|
||||
|
Loading…
Reference in New Issue
Block a user