1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

Some formatting fixes, remove unused imports.

Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Nov  6 06:22:33 CET 2011 on sn-devel-104
This commit is contained in:
Jelmer Vernooij
2011-11-04 17:34:47 +01:00
parent 2a8650ed79
commit 1ad05d8c09
3 changed files with 4 additions and 13 deletions

View File

@ -35,13 +35,13 @@ class IDmapDB(samba.Ldb):
def __init__(self, url=None, lp=None, modules_dir=None, session_info=None,
credentials=None, flags=0, options=None):
"""Opens the IDMap Database
"""Opens the IDMap Database.
For parameter meanings see the super class (samba.Ldb)
"""
self.lp = lp
if url is None:
url = lp.private_path("idmap.ldb")
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,
@ -51,7 +51,6 @@ class IDmapDB(samba.Ldb):
super(IDmapDB, self).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