git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c72d3b
)
samba.common: Fix formatting of docstring (trips up pydoctor).
author
Jelmer Vernooij
<jelmer@samba.org>
Wed, 2 Nov 2011 15:22:16 +0000
(16:22 +0100)
committer
Jelmer Vernooij
<jelmer@samba.org>
Wed, 2 Nov 2011 17:35:37 +0000
(18:35 +0100)
source4/scripting/python/samba/common.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/common.py
b/source4/scripting/python/samba/common.py
index 9738966e4518ba5e0d25ed6dc340efa63a07de1f..b67036cb1d5242aeef3b8dc421177132effa5a7c 100644
(file)
--- 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)