mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
domain_update: Add a new docstring for the main entry point
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
b5f7677af9
commit
107fbaa8f1
@ -123,6 +123,13 @@ class DomainUpdate(object):
|
||||
def check_updates_functional_level(self, functional_level,
|
||||
old_functional_level=None,
|
||||
update_revision=False):
|
||||
"""
|
||||
Apply all updates for a given old and new functional level
|
||||
:param functional_level: constant
|
||||
:param old_functional_level: constant
|
||||
:param update_revision: modify the stored version
|
||||
:raise DomainUpdateException:
|
||||
"""
|
||||
res = self.samdb.search(base=self.revision_object,
|
||||
attrs=["revision"], scope=ldb.SCOPE_BASE)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user