diff options
author | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-11 19:37:23 +0300 |
---|---|---|
committer | Takeshi KOMIYA <i.tkomiya@gmail.com> | 2020-03-11 19:37:23 +0300 |
commit | 9086ecdfff5d9b6b35fadd50be00583fa16340ca (patch) | |
tree | feeda93dff9ecd57d81950f69b20d649daff20d2 /sphinx/application.py | |
parent | e116613a3a851cdcd571c2b530e077f6527d0a00 (diff) | |
parent | f85b870ad59f39c8637160a4cd4d865ce1e1628e (diff) |
Merge branch '3.x'
Diffstat (limited to 'sphinx/application.py')
-rw-r--r-- | sphinx/application.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sphinx/application.py b/sphinx/application.py index 6eeb3e183..b99c227b9 100644 --- a/sphinx/application.py +++ b/sphinx/application.py @@ -487,7 +487,7 @@ class Sphinx: other values. """ logger.debug('[app] adding config value: %r', - (name, default, rebuild) + ((types,) if types else ())) # type: ignore + (name, default, rebuild) + ((types,) if types else ())) if rebuild in (False, True): rebuild = 'env' if rebuild else '' self.config.add(name, default, rebuild, types) |