From: Frank Brehm Date: Thu, 23 Jun 2011 18:37:27 +0000 (+0000) Subject: Kosmetik X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=425f71be91b8c9d7d9ef3a896b7ff572debf45c0;p=my-stuff%2Fpy-logrotate.git Kosmetik git-svn-id: http://svn.brehm-online.com/svn/my-stuff/python/PyLogrotate/trunk@259 ec8d2aa5-1599-4edb-8739-2b3a1bc399aa --- diff --git a/LogRotateConfig.py b/LogRotateConfig.py index 5362b2e..b73ee39 100755 --- a/LogRotateConfig.py +++ b/LogRotateConfig.py @@ -157,7 +157,7 @@ class LogrotateConfigurationReader(object): local_dir = None, ): ''' - Costructor. + Constructor. @param config_file: the configuration file to use @type config_file: str diff --git a/LogRotateGetopts.py b/LogRotateGetopts.py index 0ba032d..e74bde7 100755 --- a/LogRotateGetopts.py +++ b/LogRotateGetopts.py @@ -59,7 +59,7 @@ class LogrotateOptParser(object): local_dir = None, ): ''' - Costructor. + Constructor. @param prog: The name of the calling process (e.g. sys.argv[0]) @type prog: str diff --git a/LogRotateHandler.py b/LogRotateHandler.py index 50af20e..576ffff 100755 --- a/LogRotateHandler.py +++ b/LogRotateHandler.py @@ -72,12 +72,12 @@ class LogrotateHandler(object): local_dir = None, ): ''' - Costructor. + Constructor. @param config_file: the configuration file to use @type config_file: str - @param prog: testmode, no real actions are made - @type prog: bool + @param test: testmode, no real actions are made + @type test: bool @param verbose: verbosity (debug) level @type verbose: int @param force: Force file rotation diff --git a/LogRotateStatusFile.py b/LogRotateStatusFile.py index 6c202f7..ef47e76 100755 --- a/LogRotateStatusFile.py +++ b/LogRotateStatusFile.py @@ -82,18 +82,18 @@ class LogrotateStatusFile(object): ''' Constructor. - @param config_file: the file name of the status file - @type config_file: str - @param verbose: verbosity (debug) level - @type verbose: int - @param test_mode: test mode - no write actions are made - @type test_mode: bool - @param logger: logger object to use for logging a.s.o. - @type logger: logging.getLogger or None - @param local_dir: The directory, where the i18n-files (*.mo) - are located. If None, then system default - (/usr/share/locale) is used. - @type local_dir: str or None + @param file_name: the file name of the status file + @type file_name: str + @param verbose: verbosity (debug) level + @type verbose: int + @param test_mode: test mode - no write actions are made + @type test_mode: bool + @param logger: logger object to use for logging a.s.o. + @type logger: logging.getLogger or None + @param local_dir: The directory, where the i18n-files (*.mo) + are located. If None, then system default + (/usr/share/locale) is used. + @type local_dir: str or None @return: None '''