diff options
author | Jan Cholasta <jcholast@redhat.com> | 2013-09-10 10:20:24 +0000 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2013-11-05 13:56:55 +0100 |
commit | df5f4ee81d1aff1122dd92ab1b56eb335294c3a7 (patch) | |
tree | b112b429a896789029038bd3e25218495b647d56 /ipaserver/install/ipa_backup.py | |
parent | 989493979da3ef1136a9b346cace5689ef22eed8 (diff) | |
download | freeipa.git-df5f4ee81d1aff1122dd92ab1b56eb335294c3a7.tar.gz freeipa.git-df5f4ee81d1aff1122dd92ab1b56eb335294c3a7.tar.xz freeipa.git-df5f4ee81d1aff1122dd92ab1b56eb335294c3a7.zip |
Turn LDAPEntry.single_value into a dictionary-like property.
This change makes single_value consistent with the raw property.
https://fedorahosted.org/freeipa/ticket/3521
Diffstat (limited to 'ipaserver/install/ipa_backup.py')
-rw-r--r-- | ipaserver/install/ipa_backup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/ipa_backup.py b/ipaserver/install/ipa_backup.py index 12c62154..32272794 100644 --- a/ipaserver/install/ipa_backup.py +++ b/ipaserver/install/ipa_backup.py @@ -504,7 +504,7 @@ class Backup(admintool.AdminTool): self.log.error("Failed to read services from '%s': %s" % (conn.host, e)) else: - services_cns = [s.single_value('cn') for s in services] + services_cns = [s.single_value['cn'] for s in services] config.set('ipa', 'services', ','.join(services_cns)) with open(self.header, 'w') as fd: |