Revision 697a3d61

b/lib/ssh.py
34 34

  
35 35

  
36 36
def FormatParamikoFingerprint(fingerprint):
37
  """Formats the fingerprint of L{paramiko.PKey.get_fingerprint()}
37
  """Format paramiko PKey fingerprint.
38 38

  
39 39
  @type fingerprint: str
40 40
  @param fingerprint: PKey fingerprint
41
  @return The string hex representation of the fingerprint
41
  @return: The string hex representation of the fingerprint
42 42

  
43 43
  """
44 44
  assert len(fingerprint) % 2 == 0
b/tools/setup-ssh
231 231

  
232 232

  
233 233
def LoadPrivateKeys(options):
234
  """Load the list of available private keys
234
  """Load the list of available private keys.
235 235

  
236 236
  It loads the standard ssh key from disk and then tries to connect to
237 237
  the ssh agent too.
......
298 298

  
299 299

  
300 300
def LoadKnownHosts():
301
  """Loads the known hosts
301
  """Load the known hosts.
302 302

  
303
    @return L{paramiko.util.load_host_keys} dict
303
  @return: paramiko.util.load_host_keys dict
304 304

  
305 305
  """
306 306
  homedir = utils.GetHomeDir(constants.GANETI_RUNAS)

Also available in: Unified diff