From ecbe08d4679cc5af5971f6ed7d011b678af0d5f1 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Sat, 20 Jan 2018 23:16:42 +0000 Subject: [PATCH] sphinx: Call 'sphinx.cmd.build.main' function This was missed in commit '89f9c7cab'. Signed-off-by: Stephen Finucane Fixes: #4470 --- sphinx/__main__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sphinx/__main__.py b/sphinx/__main__.py index fbac1c4f7..47a183d08 100644 --- a/sphinx/__main__.py +++ b/sphinx/__main__.py @@ -8,7 +8,9 @@ :copyright: Copyright 2007-2018 by the Sphinx team, see AUTHORS. :license: BSD, see LICENSE for details. """ + import sys -from sphinx import main + +from sphinx.cmd.build import main sys.exit(main(sys.argv[1:]))