Commit 614244bd authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix epydoc errors



And sorry!
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
parent 9e49dfc5
......@@ -2237,13 +2237,13 @@ def StopDaemon(name):
def WritePidFile(pidfile):
"""Write the current process pidfile.
The file will be written to L{constants.RUN_GANETI_DIR}I{/name.pid}
@type name: str
@param name: the daemon name to use
@param pid: if passed, will be used instead of getpid()
@raise errors.GenericError: if the pid file already exists and
@type pidfile: sting
@param pidfile: the path to the file to be written
@raise errors.LockError: if the pid file already exists and
points to a live process
@rtype: int
@return: the file descriptor of the lock file; do not close this unless
you want to unlock the pid file
"""
# We don't rename nor truncate the file to not drop locks under
......
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