Commit 697a3d61 authored by Manuel Franceschini's avatar Manuel Franceschini
Browse files

Fix some epydoc warnings


Signed-off-by: default avatarManuel Franceschini <livewire@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent c31825f7
......@@ -34,11 +34,11 @@ from ganeti import constants
def FormatParamikoFingerprint(fingerprint):
"""Formats the fingerprint of L{paramiko.PKey.get_fingerprint()}
"""Format paramiko PKey fingerprint.
@type fingerprint: str
@param fingerprint: PKey fingerprint
@return The string hex representation of the fingerprint
@return: The string hex representation of the fingerprint
"""
assert len(fingerprint) % 2 == 0
......
......@@ -231,7 +231,7 @@ def SetupLogging(options):
def LoadPrivateKeys(options):
"""Load the list of available private keys
"""Load the list of available private keys.
It loads the standard ssh key from disk and then tries to connect to
the ssh agent too.
......@@ -298,9 +298,9 @@ def LoginViaKeys(transport, username, keys):
def LoadKnownHosts():
"""Loads the known hosts
"""Load the known hosts.
@return L{paramiko.util.load_host_keys} dict
@return: paramiko.util.load_host_keys dict
"""
homedir = utils.GetHomeDir(constants.GANETI_RUNAS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment