diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-11-02 16:22:16 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-11-02 18:35:37 +0100 |
commit | aa882d33232745607b305aff0bf2000fc5d449ee (patch) | |
tree | 93294603f74630a775ebdf41aad7a08aa3f7d348 /source4/scripting | |
parent | 1c72d3b513e9d422e4a8497277e26e334cd05fb3 (diff) | |
download | samba-aa882d33232745607b305aff0bf2000fc5d449ee.tar.gz samba-aa882d33232745607b305aff0bf2000fc5d449ee.tar.bz2 samba-aa882d33232745607b305aff0bf2000fc5d449ee.zip |
samba.common: Fix formatting of docstring (trips up pydoctor).
Diffstat (limited to 'source4/scripting')
-rw-r--r-- | source4/scripting/python/samba/common.py | 7 |
1 files changed, 4 insertions, 3 deletions
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) |