summaryrefslogtreecommitdiffstats
path: root/layman/config.py
diff options
context:
space:
mode:
authorSebastian Pipping <sebastian@pipping.org>2009-12-04 21:01:04 +0100
committerSebastian Pipping <sebastian@pipping.org>2009-12-05 00:17:20 +0100
commit8349b28317031a4ff45755079a0e4d47ade1768c (patch)
tree5b834c8a6d693298d5ebbc9e70bfab8709b6775e /layman/config.py
parent9c9f1661c23c96e97079eefa81f667cde38208f1 (diff)
downloadlayman-8349b28317031a4ff45755079a0e4d47ade1768c.tar.gz
layman-8349b28317031a4ff45755079a0e4d47ade1768c.tar.bz2
layman-8349b28317031a4ff45755079a0e4d47ade1768c.zip
Add support for repositories.xml database format
Diffstat (limited to 'layman/config.py')
-rw-r--r--layman/config.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/layman/config.py b/layman/config.py
index 63b1c15..d41491e 100644
--- a/layman/config.py
+++ b/layman/config.py
@@ -8,11 +8,13 @@
# Handles layman configuration
#
# Copyright:
-# (c) 2005 - 2008 Gunnar Wrobel
+# (c) 2005 - 2009 Gunnar Wrobel
+# (c) 2009 Sebastian Pipping
# Distributed under the terms of the GNU General Public License v2
#
# Author(s):
# Gunnar Wrobel <wrobel@gentoo.org>
+# Sebastian Pipping <sebastian@pipping.org>
#
'''Defines the configuration options and provides parsing functionality.'''
@@ -50,7 +52,7 @@ class Config(object):
>>> sys.argv.append(here + '/../etc/layman.cfg')
>>> a = Config()
>>> a['overlays']
- '\\nhttp://www.gentoo.org/proj/en/overlays/layman-global.txt'
+ '\\nhttp://www.gentoo.org/proj/en/overlays/repositories.xml'
>>> sorted(a.keys())
['cache', 'config', 'local_list', 'make_conf', 'nocheck', 'overlays', 'proxy', 'quietness', 'storage', 'umask', 'width']
'''
@@ -64,8 +66,7 @@ class Config(object):
'proxy' : '',
'umask' : '0022',
'overlays' :
- 'http://www.gentoo.org/proj/en/overlays/layman-global.'
- 'txt',}
+ 'http://www.gentoo.org/proj/en/overlays/repositories.xml',}
self.parser = OptionParser(