summaryrefslogtreecommitdiffstats
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 4468facd18..0d44100f10 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -59,7 +59,7 @@ class SQLTable(collections.MutableMapping):
59 try: 59 try:
60 return f(self, *args, **kwargs) 60 return f(self, *args, **kwargs)
61 except sqlite3.OperationalError as exc: 61 except sqlite3.OperationalError as exc:
62 if 'is locked' in str(exc) and count < 500: 62 if count < 500 and ('is locked' in str(exc) or 'locking protocol' in str(exc)):
63 count = count + 1 63 count = count + 1
64 if reconnect: 64 if reconnect:
65 self.reconnect() 65 self.reconnect()