diff options
author | 2016-02-29 01:22:25 -0500 | |
---|---|---|
committer | 2016-02-29 01:22:25 -0500 | |
commit | c8170ca79751fa8785527683b8627317d61bde2b (patch) | |
tree | e1d649856ba1fde7a00877e9b0b1dd0980d22b01 | |
parent | Adds error reporting for db read failures (diff) | |
download | layman-c8170ca79751fa8785527683b8627317d61bde2b.tar.gz layman-c8170ca79751fa8785527683b8627317d61bde2b.tar.bz2 layman-c8170ca79751fa8785527683b8627317d61bde2b.zip |
dbbase.py: adds return value for read_db()
-rw-r--r-- | layman/dbbase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layman/dbbase.py b/layman/dbbase.py index 8b25fcd..9a8ba3f 100644 --- a/layman/dbbase.py +++ b/layman/dbbase.py @@ -219,7 +219,7 @@ class DbBase(object): db_type = 'xml_db' db_ctl = self._get_dbctl(db_type) - db_ctl.read_db(path, text=text) + return db_ctl.read_db(path, text=text) def write(self, path, remove=False, migrate_type=None): |