From e4de947fd48a95b078e7d6a35099e200e6f19a02 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Fri, 24 Apr 2020 05:36:33 -0700 Subject: 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 --- 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', -- cgit v1.2.3-65-gdbad