diff options
-rw-r--r-- | bitbake/lib/bb/persist_data.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py index b8c2392945..5fe0322383 100644 --- a/bitbake/lib/bb/persist_data.py +++ b/bitbake/lib/bb/persist_data.py @@ -47,8 +47,8 @@ class SQLTable(collections.MutableMapping): self.cursor = cursor self.table = table - cursor.execute("CREATE TABLE IF NOT EXISTS %s(key TEXT, value TEXT);" - % table) + self._execute("CREATE TABLE IF NOT EXISTS %s(key TEXT, value TEXT);" + % table) def _execute(self, *query): """Execute a query, waiting to acquire a lock if necessary""" |