misc/scripts/ldap_change_base_dn.py
changeset 9460 a2a0bc984863
parent 5969 caea22e82d83
child 10589 7c23b7de2b8d
--- a/misc/scripts/ldap_change_base_dn.py	Wed Jan 22 12:14:56 2014 +0100
+++ b/misc/scripts/ldap_change_base_dn.py	Tue Jul 02 17:07:34 2013 +0200
@@ -6,7 +6,7 @@
     print
     print 'you should not have updated your sources file yet'
 
-olddn = repo.config.sources()[uri]['user-base-dn']
+olddn = repo.sources_by_uri[uri].config['user-base-dn']
 
 assert olddn != newdn