summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2011-11-02 16:22:16 +0100
committerJelmer Vernooij <jelmer@samba.org>2011-11-02 18:35:37 +0100
commitaa882d33232745607b305aff0bf2000fc5d449ee (patch)
tree93294603f74630a775ebdf41aad7a08aa3f7d348
parent1c72d3b513e9d422e4a8497277e26e334cd05fb3 (diff)
downloadsamba-aa882d33232745607b305aff0bf2000fc5d449ee.tar.gz
samba-aa882d33232745607b305aff0bf2000fc5d449ee.tar.bz2
samba-aa882d33232745607b305aff0bf2000fc5d449ee.zip
samba.common: Fix formatting of docstring (trips up pydoctor).
-rw-r--r--source4/scripting/python/samba/common.py7
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)