aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2015-07-17 12:21:37 -0400
committerDevan Franchini <twitch153@gentoo.org>2015-07-17 12:23:48 -0400
commit8fce6fd8a4057222edc07478c6ba19c68bb0aaa3 (patch)
tree28035032cdcd23b654b990a953bc081e043aa39f /layman/config.py
parentconstants.py: Adds constant DB_TYPES for supported db checking (diff)
downloadlayman-8fce6fd8a4057222edc07478c6ba19c68bb0aaa3.tar.gz
layman-8fce6fd8a4057222edc07478c6ba19c68bb0aaa3.tar.bz2
layman-8fce6fd8a4057222edc07478c6ba19c68bb0aaa3.zip
Removes unnecessary "_db" appendage to db_type var
To avoid namespace collisions in py2.7 the database modules needed to have "_db" appended to their name. In order to avoid having this ugliness in the user's config file and elsewhere in layman's code the DbBase class simply adds the "_db" portion of the name itself.
Diffstat (limited to 'layman/config.py')
-rw-r--r--layman/config.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/layman/config.py b/layman/config.py
index 0ad975b..853e22f 100644
--- a/layman/config.py
+++ b/layman/config.py
@@ -100,7 +100,7 @@ class BareConfig(object):
'auto_sync': 'No',
'check_official': 'Yes',
'conf_type': 'repos.conf',
- 'db_type': 'xml_db',
+ 'db_type': 'xml',
'require_repoconfig': 'Yes',
'clean_archive': 'yes',
'make_conf' : '%(storage)s/make.conf',