summaryrefslogtreecommitdiff
path: root/sphinx/make_mode.py
diff options
context:
space:
mode:
authorAdam J. Stewart <ajstewart426@gmail.com>2017-05-09 14:43:19 -0500
committerAdam J. Stewart <ajstewart426@gmail.com>2017-05-09 14:43:19 -0500
commit392e6ecd6fec82181d287c94b9d852efaa61f481 (patch)
treed256d8f4bc22875d04286d22cd7e18ee2c9c0a3d /sphinx/make_mode.py
parente989ed794c48517a2a1e673bf67f614bced59576 (diff)
downloadsphinx-git-392e6ecd6fec82181d287c94b9d852efaa61f481.tar.gz
Update more files that hardcode sys.argv
Diffstat (limited to 'sphinx/make_mode.py')
-rw-r--r--sphinx/make_mode.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/sphinx/make_mode.py b/sphinx/make_mode.py
index 512dc5be3..e76059131 100644
--- a/sphinx/make_mode.py
+++ b/sphinx/make_mode.py
@@ -302,8 +302,7 @@ class Make(object):
if doctreedir is None:
doctreedir = self.builddir_join('doctrees')
- args = [sys.argv[0],
- '-b', builder,
+ args = ['-b', builder,
'-d', doctreedir,
self.srcdir,
self.builddir_join(builder)]