summaryrefslogtreecommitdiffstats
path: root/lib/bb/persist_data.py
diff options
context:
space:
mode:
authorChris Larson <chris_larson@mentor.com>2011-02-08 13:42:46 -0700
committerChris Larson <chris_larson@mentor.com>2011-02-08 13:42:46 -0700
commit7486b38603f2766adaf976a9f95e9276c83abe31 (patch)
tree94401fc7c511251afca1301ff2d51647251f90ad /lib/bb/persist_data.py
parent3539c9474a0b53f57e614544c70a7197ecdfb130 (diff)
downloadbitbake-contrib-7486b38603f2766adaf976a9f95e9276c83abe31.tar.gz
persist_data: kill unreachable break line
Signed-off-by: Chris Larson <chris_larson@mentor.com>
Diffstat (limited to 'lib/bb/persist_data.py')
-rw-r--r--lib/bb/persist_data.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/bb/persist_data.py b/lib/bb/persist_data.py
index 5fe032238..da0575231 100644
--- a/lib/bb/persist_data.py
+++ b/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