Gentoo Archives: gentoo-commits

From: Devan Franchini <twitch153@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/layman:master commit in: layman/
Date: Thu, 05 Feb 2015 02:31:22
Message-Id: 1423103442.c1d7a02f54e2057a23a82fc89fa64d024bf9588f.twitch153@gentoo
1 commit: c1d7a02f54e2057a23a82fc89fa64d024bf9588f
2 Author: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
3 AuthorDate: Thu Feb 5 02:30:39 2015 +0000
4 Commit: Devan Franchini <twitch153 <AT> gentoo <DOT> org>
5 CommitDate: Thu Feb 5 02:30:42 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=c1d7a02f
7
8 updater.py: Allows more leniency when breaking up conf_type from layman.cfg
9
10 X-Gentoo-Bug: 538868
11 X-Gentoo-Bug-URL: https://bugs.gentoo.org/538868
12
13 ---
14 layman/updater.py | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17 diff --git a/layman/updater.py b/layman/updater.py
18 index 2d22b59..9e7100a 100644
19 --- a/layman/updater.py
20 +++ b/layman/updater.py
21 @@ -93,7 +93,7 @@ class Main(object):
22 print_instructions = False
23 if isinstance(self.config['conf_type'], STR):
24 self.config.set_option('conf_type',
25 - self.config['conf_type'].split(', '))
26 + self.config['conf_type'].strip('\s').split(','))
27 for i in self.config['conf_type']:
28 conf = i.replace('.', '_')
29 if not os.access(self.config[conf], os.F_OK):