1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-20 22:50:26 +03:00

samba.samdb: Fix formatting of arguments in docstring.

This commit is contained in:
Jelmer Vernooij 2012-03-06 23:31:55 +01:00
parent d8a624a71f
commit adcdee8933

View File

@ -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,