diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-11-04 17:34:47 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-11-06 06:22:33 +0100 |
commit | 1ad05d8c099b167f34ce616414c8ea5ca35db26f (patch) | |
tree | 94ceeb0d405328c86a2c0530e7538f10a6977f09 /source4/scripting/python/samba/idmap.py | |
parent | 2a8650ed79ef389e76caa7ce45ddcb2c682f56f6 (diff) | |
download | samba-1ad05d8c099b167f34ce616414c8ea5ca35db26f.tar.gz samba-1ad05d8c099b167f34ce616414c8ea5ca35db26f.tar.bz2 samba-1ad05d8c099b167f34ce616414c8ea5ca35db26f.zip |
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
Diffstat (limited to 'source4/scripting/python/samba/idmap.py')
-rw-r--r-- | source4/scripting/python/samba/idmap.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source4/scripting/python/samba/idmap.py b/source4/scripting/python/samba/idmap.py index 9d957341de..9d61ec8e5e 100644 --- a/source4/scripting/python/samba/idmap.py +++ b/source4/scripting/python/samba/idmap.py @@ -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 |