aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Dolbec <dolsen@gentoo.org>2020-04-24 05:36:33 -0700
committerBrian Dolbec <dolsen@gentoo.org>2020-04-24 06:56:34 -0700
commite4de947fd48a95b078e7d6a35099e200e6f19a02 (patch)
treeba45790ecc4cdce14e32b8971d910f226b9acd5e
parentAdd additional debug statements to trace a py3.7, py3.8 error (diff)
downloadlayman-e4de947fd48a95b078e7d6a35099e200e6f19a02.tar.gz
layman-e4de947fd48a95b078e7d6a35099e200e6f19a02.tar.bz2
layman-e4de947fd48a95b078e7d6a35099e200e6f19a02.zip
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 <dolsen@gentoo.org>
-rw-r--r--layman/config.py2
1 files changed, 1 insertions, 1 deletions
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',