summaryrefslogtreecommitdiffstats
path: root/ipaserver/install/ipa_restore.py
diff options
context:
space:
mode:
authorPetr Viktorin <pviktori@redhat.com>2014-07-29 16:29:42 +0200
committerPetr Viktorin <pviktori@redhat.com>2014-09-23 12:29:37 +0200
commit5fef2ecb399129b7d4e96eb47ec1d03f586a2b52 (patch)
treed10edff91d5db4c3697cfc1c09b9e8d115736b22 /ipaserver/install/ipa_restore.py
parent5dfa1116c27e72d5b501daab89d05a20028ce507 (diff)
downloadfreeipa-5fef2ecb399129b7d4e96eb47ec1d03f586a2b52.tar.gz
freeipa-5fef2ecb399129b7d4e96eb47ec1d03f586a2b52.tar.xz
freeipa-5fef2ecb399129b7d4e96eb47ec1d03f586a2b52.zip
ipa_restore: Split the services list
Make a proper list from the comma-separated string found in the config. The only current use of backup_services is in run: if 'CA' in self.backup_services: Without this change, this picked up the 'CA' from 'MEMCACHE'. Reviewed-By: Tomas Babej <tbabej@redhat.com>
Diffstat (limited to 'ipaserver/install/ipa_restore.py')
-rw-r--r--ipaserver/install/ipa_restore.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/install/ipa_restore.py b/ipaserver/install/ipa_restore.py
index 7929503f1..439f68304 100644
--- a/ipaserver/install/ipa_restore.py
+++ b/ipaserver/install/ipa_restore.py
@@ -538,7 +538,7 @@ class Restore(admintool.AdminTool):
self.backup_host = config.get('ipa', 'host')
self.backup_ipa_version = config.get('ipa', 'ipa_version')
self.backup_version = config.get('ipa', 'version')
- self.backup_services = config.get('ipa', 'services')
+ self.backup_services = config.get('ipa', 'services').split(',')
def extract_backup(self, keyring=None):