summaryrefslogtreecommitdiff
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/persist_data.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py
index 8120135511..283de9863d 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -97,7 +97,7 @@ class PersistData:
try:
self.connection.execute(query)
return
- except pysqlite2.dbapi2.OperationalError, e:
+ except sqlite3.OperationalError, e:
if 'database is locked' in str(e):
continue
raise