From aa882d33232745607b305aff0bf2000fc5d449ee Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Wed, 2 Nov 2011 16:22:16 +0100 Subject: samba.common: Fix formatting of docstring (trips up pydoctor). --- source4/scripting/python/samba/common.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source4') diff --git a/source4/scripting/python/samba/common.py b/source4/scripting/python/samba/common.py index 9738966e45..b67036cb1d 100644 --- a/source4/scripting/python/samba/common.py +++ b/source4/scripting/python/samba/common.py @@ -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) -- cgit