X-Git-Url: https://git.phdru.name/?p=m_librarian.git;a=blobdiff_plain;f=m_librarian%2Fglst.py;h=6b2e0904157870d2de8c52298e31a64b736c3a0a;hp=5864d7f9687ab4a318b4d39ad20e1d72d7a1a7f3;hb=5a8a39e2a30d52b96fc5913ee269dcbc2a69d099;hpb=4d962da67832d827fd1652037f74f0b47974067c 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():