Revision aeb6ba44 lib/utils/wrapper.py

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