Revision b3724640 lib/masterd/iallocator.py

b/lib/masterd/iallocator.py
100 100
  def Validate(self):
101 101
    """Validates all parameters of the request.
102 102

  
103

  
104
    This method returns L{None} if the validation succeeds, or raises
105
    an exception otherwise.
106

  
107
    @rtype: NoneType
108
    @return: L{None}, if the validation succeeds
109

  
110
    @raise Exception: validation fails
111

  
103 112
    """
104 113
    assert self.MODE in constants.VALID_IALLOCATOR_MODES
105 114

  

Also available in: Unified diff