blob: ad6506c2d9854709b8b04627b1c40b1456db0c97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# Copyright 2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
'''
XML database plug-in module for layman.
'''
module_spec = {
'name': 'xml_db',
'description': __doc__,
'provides':{
'xml-module': {
'name': 'xml_db',
'class': 'DBHandler',
'description': __doc__,
'functions': ['add_new', 'read_db', 'write'],
'func_desc': {
'add_new': 'Adds new overlay(s) to database',
'read_db': 'Reads the list of registered overlays from config',
'write' : 'Writes the list of registered overlay to config',
},
}
}
}
|