mirror of
https://github.com/samba-team/samba.git
synced 2025-12-16 00:23:52 +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
@@ -42,13 +42,13 @@ class IDmapDB(samba.Ldb):
|
||||
if url is None:
|
||||
url = lp.private_path("idmap.ldb")
|
||||
|
||||
super(IDmapDB, self).__init__(url=url, lp=lp, modules_dir=modules_dir,
|
||||
session_info=session_info, credentials=credentials, flags=flags,
|
||||
options=options)
|
||||
super().__init__(url=url, lp=lp, modules_dir=modules_dir,
|
||||
session_info=session_info, credentials=credentials, flags=flags,
|
||||
options=options)
|
||||
|
||||
def connect(self, url=None, flags=0, options=None):
|
||||
super(IDmapDB, self).connect(url=self.lp.private_path(url), flags=flags,
|
||||
options=options)
|
||||
super().connect(url=self.lp.private_path(url), flags=flags,
|
||||
options=options)
|
||||
|
||||
def increment_xid(self):
|
||||
"""Increment xidNumber, if not present it create and assign it to the lowerBound
|
||||
|
||||
Reference in New Issue
Block a user