summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/bb/persist_data.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py
index 5fe0322383..da05752311 100644
--- a/bitbake/lib/bb/persist_data.py
+++ b/bitbake/lib/bb/persist_data.py
@@ -56,7 +56,6 @@ class SQLTable(collections.MutableMapping):
56 while True: 56 while True:
57 try: 57 try:
58 return self.cursor.execute(*query) 58 return self.cursor.execute(*query)
59 break
60 except sqlite3.OperationalError as exc: 59 except sqlite3.OperationalError as exc:
61 if 'database is locked' in str(exc) and count < 500: 60 if 'database is locked' in str(exc) and count < 500:
62 count = count + 1 61 count = count + 1