summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
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 /bitbake/lib/bb
parentafdbb026937d4e2ca3e2b824a035fba8f80264c8 (diff)
downloadpoky-c68c5f6e31260549265d33da8dee563c574cbf40.tar.gz
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>
Diffstat (limited to 'bitbake/lib/bb')
-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