mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
python: use python3 style super statements
Signed-off-by: Rob van der Linde <rob@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
committed by
Andrew Bartlett
parent
3db3251342
commit
c8ded4621d
@@ -405,8 +405,7 @@ class drs_ReplicateRenamer(drs_Replicate):
|
||||
|
||||
def __init__(self, binding_string, lp, creds, samdb, invocation_id,
|
||||
old_base_dn, new_base_dn):
|
||||
super(drs_ReplicateRenamer, self).__init__(binding_string, lp, creds,
|
||||
samdb, invocation_id)
|
||||
super().__init__(binding_string, lp, creds, samdb, invocation_id)
|
||||
self.old_base_dn = old_base_dn
|
||||
self.new_base_dn = new_base_dn
|
||||
|
||||
@@ -454,6 +453,4 @@ class drs_ReplicateRenamer(drs_Replicate):
|
||||
self.rename_top_level_object(ctr.first_object.object)
|
||||
|
||||
# then do the normal repl processing to apply this chunk to our DB
|
||||
super(drs_ReplicateRenamer, self).process_chunk(level, ctr, schema,
|
||||
req_level, req,
|
||||
first_chunk)
|
||||
super().process_chunk(level, ctr, schema, req_level, req, first_chunk)
|
||||
|
||||
Reference in New Issue
Block a user