Revision b459a848 lib/build/sphinx_ext.py

b/lib/build/sphinx_ext.py
42 42
from ganeti import ht
43 43
from ganeti import rapi
44 44

  
45
import ganeti.rapi.rlib2 # pylint: disable-msg=W0611
45
import ganeti.rapi.rlib2 # pylint: disable=W0611
46 46

  
47 47

  
48 48
COMMON_PARAM_NAMES = map(compat.fst, opcodes.OpCode.OP_PARAMS)
......
213 213
  The expression's result is included as a literal.
214 214

  
215 215
  """
216
  # pylint: disable-msg=W0102,W0613,W0142
216
  # pylint: disable=W0102,W0613,W0142
217 217
  # W0102: Dangerous default value as argument
218 218
  # W0142: Used * or ** magic
219 219
  # W0613: Unused argument
......
222 222

  
223 223
  try:
224 224
    result = eval(code, EVAL_NS)
225
  except Exception, err: # pylint: disable-msg=W0703
225
  except Exception, err: # pylint: disable=W0703
226 226
    msg = inliner.reporter.error("Failed to evaluate %r: %s" % (code, err),
227 227
                                 line=lineno)
228 228
    return ([inliner.problematic(rawtext, rawtext, msg)], [msg])

Also available in: Unified diff