From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 03285138A1A for ; Thu, 5 Feb 2015 02:31:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E7797E088C; Thu, 5 Feb 2015 02:31:20 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 98D94E088C for ; Thu, 5 Feb 2015 02:31:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7575633FAD8 for ; Thu, 5 Feb 2015 02:31:19 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D9EF01113C for ; Thu, 5 Feb 2015 02:31:16 +0000 (UTC) From: "Devan Franchini" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Devan Franchini" Message-ID: <1423103442.c1d7a02f54e2057a23a82fc89fa64d024bf9588f.twitch153@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/updater.py X-VCS-Directories: layman/ X-VCS-Committer: twitch153 X-VCS-Committer-Name: Devan Franchini X-VCS-Revision: c1d7a02f54e2057a23a82fc89fa64d024bf9588f X-VCS-Branch: master Date: Thu, 5 Feb 2015 02:31:16 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0b386ce8-8bdc-4a84-93b7-7b45d993f32f X-Archives-Hash: b570d433c680a5a94086e2be85ce78ac commit: c1d7a02f54e2057a23a82fc89fa64d024bf9588f Author: Devan Franchini gentoo org> AuthorDate: Thu Feb 5 02:30:39 2015 +0000 Commit: Devan Franchini gentoo 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):