diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2012-03-06 23:31:55 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2012-03-10 21:31:54 +0100 |
commit | adcdee89335eba2a5b982900ab3c796a4003751a (patch) | |
tree | 03be256df7eab79a87bf4f28cd480b27cc50ae45 /source4 | |
parent | d8a624a71f86486ee3d8db41925bde5ff59b8b8f (diff) | |
download | samba-adcdee89335eba2a5b982900ab3c796a4003751a.tar.gz samba-adcdee89335eba2a5b982900ab3c796a4003751a.tar.bz2 samba-adcdee89335eba2a5b982900ab3c796a4003751a.zip |
samba.samdb: Fix formatting of arguments in docstring.
Diffstat (limited to 'source4')
-rw-r--r-- | source4/scripting/python/samba/samdb.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py index 4c24989a21..d0955becb8 100644 --- a/source4/scripting/python/samba/samdb.py +++ b/source4/scripting/python/samba/samdb.py @@ -106,13 +106,13 @@ class SamDB(samba.Ldb): def toggle_userAccountFlags(self, search_filter, flags, flags_str=None, on=True, strict=False): - """toggle_userAccountFlags + """Toggle_userAccountFlags :param search_filter: LDAP filter to find the user (eg samccountname=name) - :flags: samba.dsdb.UF_* flags - :on: on=True (default) => set, on=False => unset - :strict: strict=False (default) ignore if no action is needed + :param flags: samba.dsdb.UF_* flags + :param on: on=True (default) => set, on=False => unset + :param strict: strict=False (default) ignore if no action is needed strict=True raises an Exception if... """ res = self.search(base=self.domain_dn(), scope=ldb.SCOPE_SUBTREE, |