From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7EDCC138350 for ; Fri, 24 Apr 2020 20:59:23 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB9F7E0A44; Fri, 24 Apr 2020 20:59:22 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A258FE0A44 for ; Fri, 24 Apr 2020 20:59:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9AD4434F19E for ; Fri, 24 Apr 2020 20:59:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 41C7A1EE for ; Fri, 24 Apr 2020 20:59:20 +0000 (UTC) From: "Brian Dolbec" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Dolbec" Message-ID: <1587736594.e4de947fd48a95b078e7d6a35099e200e6f19a02.dolsen@gentoo> Subject: [gentoo-commits] proj/layman:master commit in: layman/ X-VCS-Repository: proj/layman X-VCS-Files: layman/config.py X-VCS-Directories: layman/ X-VCS-Committer: dolsen X-VCS-Committer-Name: Brian Dolbec X-VCS-Revision: e4de947fd48a95b078e7d6a35099e200e6f19a02 X-VCS-Branch: master Date: Fri, 24 Apr 2020 20:59:20 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9d9acdc1-d2ff-4a4e-bd95-155398a01a60 X-Archives-Hash: 47248b462dd34246432c02abd0e894d2 commit: e4de947fd48a95b078e7d6a35099e200e6f19a02 Author: Brian Dolbec gentoo org> AuthorDate: Fri Apr 24 12:36:33 2020 +0000 Commit: Brian Dolbec gentoo org> CommitDate: Fri Apr 24 13:56:34 2020 +0000 URL: https://gitweb.gentoo.org/proj/layman.git/commit/?id=e4de947f layman/config.py: Fix py3.7, py3.8 ConfigParser error Newer pythons require string defaults only. The final config instance variable is either a NoneType or list Signed-off-by: Brian Dolbec gentoo.org> layman/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layman/config.py b/layman/config.py index 853e22f..bc3172b 100644 --- a/layman/config.py +++ b/layman/config.py @@ -96,7 +96,7 @@ class BareConfig(object): 'cache' : '%(storage)s/cache', 'local_list': '%(storage)s/overlays.xml', 'installed': '%(storage)s/installed.xml', - 'protocol_filter': [], + 'protocol_filter': '', 'auto_sync': 'No', 'check_official': 'Yes', 'conf_type': 'repos.conf',