Commit ba299d76 authored by Denis Bilenko's avatar Denis Bilenko

doc: drop support for Sphinx older than 1.0

parent 8b2fe58e
......@@ -19,12 +19,8 @@ def missing_reference(app, env, node, contnode):
type = node['reftype']
target = node['reftarget']
if node.has_key('py:module'):
modname = node['py:module']
classname = node['py:class']
else:
modname = node['modname']
classname = node['classname']
modname = node.get('py:module')
classname = node.get('py:class')
if modname and classname:
return
......
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