From 5a8a39e2a30d52b96fc5913ee269dcbc2a69d099 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Fri, 11 May 2018 00:15:00 +0300 Subject: [PATCH] Fix(glst): Return counter after VACUUM --- m_librarian/glst.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/m_librarian/glst.py b/m_librarian/glst.py index 5864d7f..6b2e090 100755 --- a/m_librarian/glst.py +++ b/m_librarian/glst.py @@ -54,10 +54,11 @@ def _import_glst(): def import_glst(): - return sqlhub.doInTransaction(_import_glst) + count_old, count_new = sqlhub.doInTransaction(_import_glst) connection = sqlhub.processConnection if connection.dbName == 'sqlite': connection.query("VACUUM") + return count_old, count_new def test(): -- 2.39.5