mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 16:10:02 -06:00
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>
This commit is contained in:
parent
85834abad6
commit
e1ed8b5eff
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user