Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/layman:master commit in: layman/
Date: Sun, 08 Feb 2015 04:20:17
Message-Id: 1423369114.79809ad71c13016178bcd0945ba7c257f224db32.dolsen@gentoo
1 commit: 79809ad71c13016178bcd0945ba7c257f224db32
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 8 04:18:34 2015 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 8 04:18:34 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=79809ad7
7
8 repoconfmanager.py: Fix conf_type splitting
9
10 ---
11 layman/repoconfmanager.py | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/layman/repoconfmanager.py b/layman/repoconfmanager.py
15 index 260ae3d..8a65b88 100644
16 --- a/layman/repoconfmanager.py
17 +++ b/layman/repoconfmanager.py
18 @@ -42,7 +42,7 @@ class RepoConfManager:
19 output=self.output)
20
21 if isinstance(self.conf_types, STR):
22 - self.conf_types = re.split(',\s+', self.conf_types)
23 + self.conf_types = [x.strip() for x in self.conf_types.split(',')]
24
25 if not self.conf_types and self.config['require_repoconfig']:
26 self.output.error('No Repo configuration type found, but'