diff options
author | Martin Babinsky <mbabinsk@redhat.com> | 2016-12-16 12:14:20 +0100 |
---|---|---|
committer | Martin Babinsky <mbabinsk@redhat.com> | 2017-01-25 15:02:16 +0100 |
commit | e1ed8b5eff40331ba532d37f3fb08814d8a55b77 (patch) | |
tree | d725852f6e3d343cf45fbdc06d54b2aa62d8414a /ipaserver/install/installutils.py | |
parent | 85834abad655c6aed54c0253bc194ece81d78774 (diff) | |
download | freeipa-e1ed8b5eff40331ba532d37f3fb08814d8a55b77.tar.gz freeipa-e1ed8b5eff40331ba532d37f3fb08814d8a55b77.tar.xz freeipa-e1ed8b5eff40331ba532d37f3fb08814d8a55b77.zip |
Fix the installutils.set_directive docstring
Add missing parameter descriptions and fix incorrect indentation
https://fedorahosted.org/freeipa/ticket/6460
Reviewed-By: Tomas Krizek <tkrizek@redhat.com>
Reviewed-By: Petr Spacek <pspacek@redhat.com>
Diffstat (limited to 'ipaserver/install/installutils.py')
-rw-r--r-- | ipaserver/install/installutils.py | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/ipaserver/install/installutils.py b/ipaserver/install/installutils.py index 0d8a574ae..7f96eb27b 100644 --- a/ipaserver/install/installutils.py +++ b/ipaserver/install/installutils.py @@ -388,11 +388,14 @@ def set_directive(filename, directive, value, quotes=True, separator=' ', This has only been tested with nss.conf - :param directive: directive name - :param value: value of the directive - :param quotes: whether to quote `value` in `quote_char`. If true, then - the `quote_char` are first escaped to avoid unparseable directives - :param quote_char: the character used for quoting `value` + :param filename: input filename + :param directive: directive name + :param value: value of the directive + :param quotes: whether to quote `value` in `quote_char`. If true, then + the `quote_char` are first escaped to avoid unparseable directives. + :param separator: character serving as separator between directive and + value + :param quote_char: the character used for quoting `value` """ def format_directive(directive, value, separator, quotes, quote_char): |