Split de lc_ldap.py en lc_ldap.py et objets.py + création du wrapper shortcuts.py
Ça permet de faire les choses sales du genre os.getenv("SUDO_USER") ou import_secrets dans le wrapper et pas dans le binding même.
This commit is contained in:
parent
a620f5b5e9
commit
db7d41d967
8 changed files with 968 additions and 867 deletions
13
__init__.py
13
__init__.py
|
@ -1,4 +1,17 @@
|
|||
#!/usr/bin/env python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
"""
|
||||
Binding Cr@ns-made pour s'interfacer avec la base LDAP
|
||||
|
||||
Copyright (C) 2010-2013 Cr@ns <roots@crans.org>
|
||||
Authors: Antoine Durand-Gasselin <adg@crans.org>
|
||||
Nicolas Dandrimont <olasd@crans.org>
|
||||
Olivier Iffrig <iffrig@crans.org>
|
||||
Valentin Samir <samir@crans.org>
|
||||
Daniel Stan <dstan@crans.org>
|
||||
Vincent Le Gallic <legallic@crans.org>
|
||||
Pierre-Elliott Bécue <becue@crans.org>
|
||||
"""
|
||||
|
||||
from lc_ldap import *
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue