Revision fc8a6b8f

b/lib/cmdlib.py
335 335
  HPATH = None
336 336
  HTYPE = None
337 337

  
338
  def BuildHooksEnv(self):
339
    """Empty BuildHooksEnv for NoHooksLu.
340

  
341
    This just raises an error.
342

  
343
    """
344
    assert False, "BuildHooksEnv called for NoHooksLUs"
345

  
338 346

  
339 347
def _GetWantedNodes(lu, nodes):
340 348
  """Returns list of checked and expanded node names.

Also available in: Unified diff