Commit caf1c486 authored by Sébastien Lafargue's avatar Sébastien Lafargue

html preview: remove dead code

parent f254a979
...@@ -94,18 +94,6 @@ builtins.open = new_open ...@@ -94,18 +94,6 @@ builtins.open = new_open
_ = Ide.gettext _ = Ide.gettext
def is_sphinx_installed():
with open(os.devnull, 'w') as devnull:
try:
if subprocess.call(['sphinx-build', '--version'],
stdout=devnull, stderr=devnull) == 0:
return True
except FileNotFoundError:
pass
return False
class SphinxState(): class SphinxState():
def __init__(self, builddir): def __init__(self, builddir):
self.builddir = builddir self.builddir = builddir
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment