Revision b4fcee5b lib/build/sphinx_ext.py
b/lib/build/sphinx_ext.py | ||
---|---|---|
39 | 39 |
from ganeti import utils |
40 | 40 |
from ganeti import opcodes |
41 | 41 |
from ganeti import ht |
42 |
from ganeti import rapi |
|
43 |
|
|
44 |
import ganeti.rapi.rlib2 |
|
42 | 45 |
|
43 | 46 |
|
44 | 47 |
COMMON_PARAM_NAMES = map(operator.itemgetter(0), opcodes.OpCode.OP_PARAMS) |
45 | 48 |
|
46 | 49 |
#: Namespace for evaluating expressions |
47 |
EVAL_NS = dict(compat=compat, constants=constants, utils=utils, errors=errors) |
|
50 |
EVAL_NS = dict(compat=compat, constants=constants, utils=utils, errors=errors, |
|
51 |
rlib2=rapi.rlib2) |
|
48 | 52 |
|
49 | 53 |
|
50 | 54 |
class OpcodeError(sphinx.errors.SphinxError): |
Also available in: Unified diff