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:
@ -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)
|
||||
|
Reference in New Issue
Block a user