1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

samba.common: Fix formatting of docstring (trips up pydoctor).

This commit is contained in:
Jelmer Vernooij
2011-11-02 16:22:16 +01:00
parent 1c72d3b513
commit aa882d3323

View File

@ -20,10 +20,11 @@
import ldb, dsdb
def confirm(msg, forced = False, allow_all=False):
def confirm(msg, forced=False, allow_all=False):
"""confirm an action with the user
:param msg: A string to print to the user
:param forced: Are the answer forced
:param msg: A string to print to the user
:param forced: Are the answer forced
"""
if forced:
print("%s [YES]" % msg)