Revision 5fcc718f

b/lib/bootstrap.py
282 282
  @param cfg_file: configuration file path
283 283

  
284 284
  @rtype: L{ssconf.SimpleConfigWriter}
285
  @returns: initialized config instance
285
  @return: initialized config instance
286 286

  
287 287
  """
288 288
  nodes = {
b/lib/cli.py
856 856
  @param ts: a timeval-type timestamp, a tuple of seconds and microseconds
857 857

  
858 858
  @rtype: string
859
  @returns: a string with the formatted timestamp
859
  @return: a string with the formatted timestamp
860 860

  
861 861
  """
862 862
  if not isinstance (ts, (tuple, list)) or len(ts) != 2:
b/lib/cmdlib.py
1670 1670
    @param rlist: a map with node names as keys and OS objects as values
1671 1671

  
1672 1672
    @rtype: dict
1673
    @returns: a dictionary with osnames as keys and as value another map, with
1673
    @return: a dictionary with osnames as keys and as value another map, with
1674 1674
        nodes as keys and list of OS objects as values, eg::
1675 1675

  
1676 1676
          {"debian-etch": {"node1": [<object>,...],
b/lib/config.py
827 827
    """Get the configuration of all instances.
828 828

  
829 829
    @rtype: dict
830
    @returns: dict of (instance, instance_info), where instance_info is what
830
    @return: dict of (instance, instance_info), where instance_info is what
831 831
              would GetInstanceInfo return for the node
832 832

  
833 833
    """
b/lib/http/client.py
368 368
    @type requests: List of HttpClientRequest instances
369 369
    @param requests: The requests to execute
370 370
    @rtype: List of HttpClientRequest instances
371
    @returns: The list of requests passed in
371
    @return: The list of requests passed in
372 372

  
373 373
    """
374 374
    # _HttpClientPendingRequest is used for internal thread synchronization
b/lib/rapi/rlib2.py
322 322
        ...
323 323
      ]
324 324

  
325
    @returns: a dictionary with 'name' and 'uri' keys for each of them.
325
    @return: a dictionary with 'name' and 'uri' keys for each of them.
326 326

  
327 327
    """
328 328
    client = luxi.Client()
......
340 340
  def POST(self):
341 341
    """Create an instance.
342 342

  
343
    @returns: a job id
343
    @return: a job id
344 344

  
345 345
    """
346 346
    if not isinstance(self.req.request_body, dict):
b/lib/rpc.py
217 217
    """Call nodes and return results.
218 218

  
219 219
    @rtype: list
220
    @returns: List of RPC results
220
    @return: List of RPC results
221 221

  
222 222
    """
223 223
    assert _http_manager, "RPC module not intialized"
b/lib/utils.py
1446 1446
  @type logfile: str
1447 1447
  @param logfile: the logfile to which we should redirect stdout/stderr
1448 1448
  @rtype: int
1449
  @returns: the value zero
1449
  @return: the value zero
1450 1450

  
1451 1451
  """
1452 1452
  UMASK = 077

Also available in: Unified diff