diff options
author | Brian Dolbec <dolsen@gentoo.org> | 2012-11-18 11:11:47 -0800 |
---|---|---|
committer | Brian Dolbec <dolsen@gentoo.org> | 2012-11-18 11:11:47 -0800 |
commit | e8e8cd689ccb12c36d27d75b8a4f8f9d8e9c6249 (patch) | |
tree | 061423b5e5476379e9f940d870081786b8029b11 /layman/config.py | |
parent | pyflakes cleanup (diff) | |
download | layman-e8e8cd689ccb12c36d27d75b8a4f8f9d8e9c6249.tar.gz layman-e8e8cd689ccb12c36d27d75b8a4f8f9d8e9c6249.tar.bz2 layman-e8e8cd689ccb12c36d27d75b8a4f8f9d8e9c6249.zip |
split out remotedb to it's own file, add gpg signed list support, some pyflakes cleanup
Diffstat (limited to 'layman/config.py')
-rw-r--r-- | layman/config.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/layman/config.py b/layman/config.py index 1f5bc34..bb15abb 100644 --- a/layman/config.py +++ b/layman/config.py @@ -53,9 +53,9 @@ def read_layman_config(config=None, defaults=None, output=None): filelist = [f for f in filelist if f.endswith('.xml')] overlays = set(config.get('MAIN', 'overlays').split('\n')) for _file in filelist: - path = os.path.join(config.get('MAIN', 'overlay_defs'), _file) - if os.path.isfile(path): - overlays.update(["file://" + path]) + _path = os.path.join(config.get('MAIN', 'overlay_defs'), _file) + if os.path.isfile(_path): + overlays.update(["file://" + _path]) config.set('MAIN', 'overlays', '\n'.join(overlays)) @@ -105,6 +105,8 @@ class BareConfig(object): 'umask' : '0022', 'news_reporter': 'portage', 'custom_news_pkg': '', + 'gpg_detached_lists': '', + 'gpg_signed_lists': '', 'overlays' : 'http://www.gentoo.org/proj/en/overlays/repositories.xml', 'overlay_defs': '%(configdir)s/overlays', |