branch | 3.25 |
changeset 12146 | d540defa0591 |
parent 11774 | 51c160677afe |
--- a/cubicweb/misc/scripts/ldap_change_base_dn.py Tue Apr 04 17:43:56 2017 +0200 +++ b/cubicweb/misc/scripts/ldap_change_base_dn.py Wed Apr 05 14:59:09 2017 +0200 @@ -8,7 +8,7 @@ print() print('you should not have updated your sources file yet') -olddn = repo.sources_by_uri[uri].config['user-base-dn'] +olddn = repo.source_by_uri(uri).config['user-base-dn'] assert olddn != newdn