commit: 79809ad71c13016178bcd0945ba7c257f224db32
Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 8 04:18:34 2015 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sun Feb 8 04:18:34 2015 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=79809ad7
repoconfmanager.py: Fix conf_type splitting
---
layman/repoconfmanager.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/layman/repoconfmanager.py b/layman/repoconfmanager.py
index 260ae3d..8a65b88 100644
--- a/layman/repoconfmanager.py
+++ b/layman/repoconfmanager.py
@@ -42,7 +42,7 @@ class RepoConfManager:
output=self.output)
if isinstance(self.conf_types, STR):
- self.conf_types = re.split(',\s+', self.conf_types)
+ self.conf_types = [x.strip() for x in self.conf_types.split(',')]
if not self.conf_types and self.config['require_repoconfig']:
self.output.error('No Repo configuration type found, but'