summaryrefslogtreecommitdiff
path: root/bitbake/lib
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib')
-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 0f31b4c845..0b88dadba5 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -92,10 +92,10 @@ class PersistData:
"""
self._execute("DELETE from %s where key=?;" % domain, [key])
- def _execute(self, **query):
+ def _execute(self, *query):
while True:
try:
- self.connection.execute(query)
+ self.connection.execute(*query)
return
except sqlite3.OperationalError, e:
if 'database is locked' in str(e):