Revision aeb6ba44

b/lib/opcodes.py
1959 1959
  This is used just for debugging and testing.
1960 1960

  
1961 1961
  Parameters:
1962
    - duration: the time to sleep
1962
    - duration: the time to sleep, in seconds
1963 1963
    - on_master: if true, sleep on the master
1964 1964
    - on_nodes: list of nodes in which to sleep
1965 1965

  
b/lib/utils/wrapper.py
37 37
  """Sleep for a fixed amount of time.
38 38

  
39 39
  @type duration: float
40
  @param duration: the sleep duration
41
  @rtype: boolean
42
  @return: False for negative value, True otherwise
40
  @param duration: the sleep duration, in seconds
41
  @rtype: (boolean, str)
42
  @return: False for negative value, and an accompanying error message;
43
      True otherwise (and msg is None)
43 44

  
44 45
  """
45 46
  if duration < 0:

Also available in: Unified diff