From 614244bd634fde2b50d3b005c6e9eb7224a6a941 Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Tue, 12 Oct 2010 15:28:58 +0200 Subject: [PATCH] Fix epydoc errors And sorry! Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Michael Hanselmann <hansmi@google.com> --- lib/utils.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/utils.py b/lib/utils.py index 095e38b65..3bdf64221 100644 --- a/lib/utils.py +++ b/lib/utils.py @@ -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 -- GitLab