From adcdee89335eba2a5b982900ab3c796a4003751a Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Tue, 6 Mar 2012 23:31:55 +0100 Subject: samba.samdb: Fix formatting of arguments in docstring. --- source4/scripting/python/samba/samdb.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/scripting') 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, -- cgit