Remove non-existing arguments from some docstrings
authorGuido Trotter <ultrotter@google.com>
Wed, 30 Apr 2008 09:22:59 +0000 (09:22 +0000)
committerGuido Trotter <ultrotter@google.com>
Wed, 30 Apr 2008 09:22:59 +0000 (09:22 +0000)
A fewdocstrings in the HooksRunner backend class list arguments the relevant
functions do not take.  Clean them up.

Reviewed-by: iustinp

lib/backend.py

index 0282ab1..c1dfa4e 100644 (file)
@@ -1420,9 +1420,6 @@ class HooksRunner(object):
     Args:
       - hooks_base_dir: if not None, this overrides the
         constants.HOOKS_BASE_DIR (useful for unittests)
-      - logs_base_dir: if not None, this overrides the
-        constants.LOG_HOOKS_DIR (useful for unittests)
-      - logging: enable or disable logging of script output
 
     """
     if hooks_base_dir is None:
@@ -1434,7 +1431,6 @@ class HooksRunner(object):
     """Exec one hook script.
 
     Args:
-     - phase: the phase
      - script: the full path to the script
      - env: the environment with which to exec the script