From 107fbaa8f1d95d6c7c0af2a3a9196fa950756c7e Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Wed, 13 Dec 2017 13:37:08 +1300 Subject: [PATCH] domain_update: Add a new docstring for the main entry point Signed-off-by: Garming Sam Reviewed-by: Andrew Bartlett --- python/samba/domain_update.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/python/samba/domain_update.py b/python/samba/domain_update.py index 1f8e5decc594..11a0a732b85a 100644 --- a/python/samba/domain_update.py +++ b/python/samba/domain_update.py @@ -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) -- 2.34.1