diff options
Diffstat (limited to 'layman/db_modules/xml_db/__init__.py')
-rw-r--r-- | layman/db_modules/xml_db/__init__.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/layman/db_modules/xml_db/__init__.py b/layman/db_modules/xml_db/__init__.py new file mode 100644 index 0000000..ad6506c --- /dev/null +++ b/layman/db_modules/xml_db/__init__.py @@ -0,0 +1,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', + }, + } + } +} |