diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2020-04-24 05:36:33 -0700 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2020-04-24 06:56:34 -0700 |
commit | e4de947fd48a95b078e7d6a35099e200e6f19a02 (patch) | |
tree | ba45790ecc4cdce14e32b8971d910f226b9acd5e | |
parent | Add additional debug statements to trace a py3.7, py3.8 error (diff) | |
download | layman-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.py | 2 |
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', |