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:
Chris Larson
2011-02-08 13:42:46 -07:00
committed by Richard Purdie
parent afdbb02693
commit c68c5f6e31

View File

@@ -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