diff --git a/minode/sql.py b/minode/sql.py index 092881e..00bdd0d 100644 --- a/minode/sql.py +++ b/minode/sql.py @@ -1,5 +1,6 @@ """Inventory implementation using sqlite""" +import logging import os import sqlite3 import time @@ -144,4 +145,5 @@ class Inventory(): return cur.fetchone()[0] def __del__(self): + logging.warning('Closing the objects database') self._db.close()