mirror of
https://git.yoctoproject.org/poky
synced 2026-04-18 03:32:13 +02:00
persist_data: kill unreachable break line
(Bitbake rev: 7486b38603f2766adaf976a9f95e9276c83abe31) Signed-off-by: Chris Larson <chris_larson@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
afdbb02693
commit
c68c5f6e31
@@ -56,7 +56,6 @@ class SQLTable(collections.MutableMapping):
|
||||
while True:
|
||||
try:
|
||||
return self.cursor.execute(*query)
|
||||
break
|
||||
except sqlite3.OperationalError as exc:
|
||||
if 'database is locked' in str(exc) and count < 500:
|
||||
count = count + 1
|
||||
|
||||
Reference in New Issue
Block a user