From: Rob Crittenden Date: Wed, 6 May 2015 15:35:50 +0000 (-0400) Subject: Remove unnecessary lines from infoldap plugin X-Git-Tag: v1.0.0~29 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=commitdiff_plain;h=1e2cb84b570cfaa5d2de9d5830a752100cac236c Remove unnecessary lines from infoldap plugin These three lines were ostensibly storing various elements of configuration but were in fact creating a new dict each time, wiping out all previous elements. Signed-off-by: Rob Crittenden Reviewed-by: Simo Sorce --- diff --git a/ipsilon/info/infoldap.py b/ipsilon/info/infoldap.py index 01d2512..84b4098 100644 --- a/ipsilon/info/infoldap.py +++ b/ipsilon/info/infoldap.py @@ -198,9 +198,6 @@ class Installer(InfoProviderInstaller): config['server url'] = opts['info_ldap_server_url'] elif 'ldap_server_url' in opts: config['server url'] = opts['ldap_server_url'] - config = {'bind dn': opts['info_ldap_bind_dn']} - config = {'bind password': opts['info_ldap_bind_pwd']} - config = {'user dn template': opts['info_ldap_user_dn_template']} if 'info_ldap_bind_dn' in opts: config['bind dn'] = opts['info_ldap_bind_dn'] if 'info_ldap_bind_pwd' in opts: