From 5fef2ecb399129b7d4e96eb47ec1d03f586a2b52 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 29 Jul 2014 16:29:42 +0200 Subject: [PATCH] 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 --- ipaserver/install/ipa_restore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):