aboutsummaryrefslogtreecommitdiff
path: root/layman
diff options
context:
space:
mode:
authorDevan Franchini <twitch153@gentoo.org>2016-02-29 01:22:25 -0500
committerDevan Franchini <twitch153@gentoo.org>2016-02-29 01:22:25 -0500
commitc8170ca79751fa8785527683b8627317d61bde2b (patch)
treee1d649856ba1fde7a00877e9b0b1dd0980d22b01 /layman
parentAdds error reporting for db read failures (diff)
downloadlayman-c8170ca79751fa8785527683b8627317d61bde2b.tar.gz
layman-c8170ca79751fa8785527683b8627317d61bde2b.tar.bz2
layman-c8170ca79751fa8785527683b8627317d61bde2b.zip
dbbase.py: adds return value for read_db()
Diffstat (limited to 'layman')
-rw-r--r--layman/dbbase.py2
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):