diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-01-17 00:22:09 +0900 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2022-01-17 00:22:09 +0900 |
commit | 444dfc50aab740f9c658ea97b1f518dcac047d44 (patch) | |
tree | 27c69f87c24cb73e357eef5d830e27b7668b10d4 /sphinx/setup_command.py | |
parent | 6a0215198fea5ec1dbda398aee8c64999baa0c0d (diff) | |
parent | bd55cce6e6366804fb1dc5e516d11a98e00e4c46 (diff) | |
download | sphinx-git-444dfc50aab740f9c658ea97b1f518dcac047d44.tar.gz |
Merge branch '4.x'
Diffstat (limited to 'sphinx/setup_command.py')
-rw-r--r-- | sphinx/setup_command.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/setup_command.py b/sphinx/setup_command.py index de769e64d..76e69efed 100644 --- a/sphinx/setup_command.py +++ b/sphinx/setup_command.py @@ -114,7 +114,7 @@ class BuildDoc(Command): for guess in ('doc', 'docs'): if not os.path.isdir(guess): continue - for root, dirnames, filenames in os.walk(guess): + for root, _dirnames, filenames in os.walk(guess): if 'conf.py' in filenames: return root return os.curdir |