diff options
author | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2016-08-17 03:28:20 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander.sulfrian@fu-berlin.de> | 2017-03-21 17:44:20 +0100 |
commit | 0985c2aed06c14d8b79805d21449f2f1d31dd20c (patch) | |
tree | f68a94eb35a064644f06b614af735a5faf0258e7 /schemas | |
parent | b914052d7c33cc45012f693763189aa7db7a78a2 (diff) | |
download | bcfg2-0985c2aed06c14d8b79805d21449f2f1d31dd20c.tar.gz bcfg2-0985c2aed06c14d8b79805d21449f2f1d31dd20c.tar.bz2 bcfg2-0985c2aed06c14d8b79805d21449f2f1d31dd20c.zip |
Server/Plugins/Ldap: Fix module name
If the module name contains slashes, python will issue an warning:
> Ldap/config.py:1: RuntimeWarning: Parent module '__Ldap_/root/repo/Ldap/config' not found while handling absolute import
> from Bcfg2.Server.Plugins.Ldap import LdapConnection, LdapQuery
So we simply use the basename without the file extension for the module name.
Diffstat (limited to 'schemas')
0 files changed, 0 insertions, 0 deletions