summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-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)