Revision b8669a69 lib/build/sphinx_ext.py

b/lib/build/sphinx_ext.py
46 46
  # Normally the "manpage" role is registered by sphinx/roles.py
47 47
  raise Exception("Can't find reST role named 'manpage': %s" % err)
48 48

  
49
from ganeti import _constants
49 50
from ganeti import constants
50 51
from ganeti import compat
51 52
from ganeti import errors
......
57 58
from ganeti import luxi
58 59
from ganeti import objects
59 60
from ganeti import http
60
from ganeti import _autoconf
61 61

  
62 62
import ganeti.rapi.rlib2 # pylint: disable=W0611
63 63
import ganeti.rapi.connector # pylint: disable=W0611
......
385 385
    name = m.group("name")
386 386
    section = int(m.group("section"))
387 387

  
388
    wanted_section = _autoconf.MAN_PAGES.get(name, None)
388
    wanted_section = _constants.MAN_PAGES.get(name, None)
389 389

  
390 390
    if not (wanted_section is None or wanted_section == section):
391 391
      raise ReSTError("Referenced man page '%s' has section number %s, but the"

Also available in: Unified diff