summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/persist_data.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/persist_data.py')
-rw-r--r--bitbake/lib/bb/persist_data.py4
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):
47 self.cursor = cursor 47 self.cursor = cursor
48 self.table = table 48 self.table = table
49 49
50 cursor.execute("CREATE TABLE IF NOT EXISTS %s(key TEXT, value TEXT);" 50 self._execute("CREATE TABLE IF NOT EXISTS %s(key TEXT, value TEXT);"
51 % table) 51 % table)
52 52
53 def _execute(self, *query): 53 def _execute(self, *query):
54 """Execute a query, waiting to acquire a lock if necessary""" 54 """Execute a query, waiting to acquire a lock if necessary"""