From: Jennifer Sutton Date: Thu, 29 Aug 2024 01:32:25 +0000 (+1200) Subject: python: Remove unused ‘more_flags’ parameter X-Git-Tag: tevent-0.17.0~137 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef11923c6bdad535af7268dcdb0efce563b9c6e1;p=thirdparty%2Fsamba.git python: Remove unused ‘more_flags’ parameter BUG: https://bugzilla.samba.org/show_bug.cgi?id=15852 Signed-off-by: Jennifer Sutton Reviewed-by: Douglas Bagnall --- diff --git a/python/samba/drs_utils.py b/python/samba/drs_utils.py index 3b3a42df178..8fac14e78af 100644 --- a/python/samba/drs_utils.py +++ b/python/samba/drs_utils.py @@ -255,13 +255,13 @@ class drs_Replicate(object): def replicate(self, dn, source_dsa_invocation_id, destination_dsa_guid, schema=False, exop=drsuapi.DRSUAPI_EXOP_NONE, rodc=False, - replica_flags=None, full_sync=True, sync_forced=False, more_flags=0): + replica_flags=None, full_sync=True, sync_forced=False): """replicate a single DN""" # setup for a GetNCChanges call if self.supports_ext & DRSUAPI_SUPPORTED_EXTENSION_GETCHGREQ_V10: req = drsuapi.DsGetNCChangesRequest10() - req.more_flags = (more_flags | self.more_flags) + req.more_flags = self.more_flags req_level = 10 else: req_level = 8