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

html preview: remove dead code

parent f254a979
......@@ -94,18 +94,6 @@ = new_open
_ = Ide.gettext
def is_sphinx_installed():
with open(os.devnull, 'w') as devnull:
if['sphinx-build', '--version'],
stdout=devnull, stderr=devnull) == 0:
return True
except FileNotFoundError:
return False
class SphinxState():
def __init__(self, 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