commit:     c1d7a02f54e2057a23a82fc89fa64d024bf9588f
Author:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  5 02:30:39 2015 +0000
Commit:     Devan Franchini <twitch153 <AT> gentoo <DOT> org>
CommitDate: Thu Feb  5 02:30:42 2015 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=c1d7a02f

updater.py: Allows more leniency when breaking up conf_type from layman.cfg

X-Gentoo-Bug: 538868
X-Gentoo-Bug-URL: https://bugs.gentoo.org/538868

---
 layman/updater.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layman/updater.py b/layman/updater.py
index 2d22b59..9e7100a 100644
--- a/layman/updater.py
+++ b/layman/updater.py
@@ -93,7 +93,7 @@ class Main(object):
         print_instructions = False
         if isinstance(self.config['conf_type'], STR):
             self.config.set_option('conf_type',
-                                   self.config['conf_type'].split(', '))
+                                   
self.config['conf_type'].strip('\s').split(','))
         for i in self.config['conf_type']:
             conf = i.replace('.', '_')
             if not os.access(self.config[conf], os.F_OK):

Reply via email to