summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-02-08 13:42:46 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-10 22:35:12 +0000
commitc68c5f6e31260549265d33da8dee563c574cbf40 (patch)
treed48a8b344ad6d8f8112a35c49caa917d62b69986
parentafdbb026937d4e2ca3e2b824a035fba8f80264c8 (diff)
downloadpoky-c68c5f6e31260549265d33da8dee563c574cbf40.tar.gz
poky-c68c5f6e31260549265d33da8dee563c574cbf40.tar.bz2
poky-c68c5f6e31260549265d33da8dee563c574cbf40.zip
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>
-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):
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