mirror of
https://git.yoctoproject.org/poky
synced 2026-09-14 12:49:34 +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:
|
while True:
|
||||||
try:
|
try:
|
||||||
return self.cursor.execute(*query)
|
return self.cursor.execute(*query)
|
||||||
break
|
|
||||||
except sqlite3.OperationalError as exc:
|
except sqlite3.OperationalError as exc:
|
||||||
if 'database is locked' in str(exc) and count < 500:
|
if 'database is locked' in str(exc) and count < 500:
|
||||||
count = count + 1
|
count = count + 1
|
||||||
|
|||||||
Reference in New Issue
Block a user