From c68c5f6e31260549265d33da8dee563c574cbf40 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Tue, 8 Feb 2011 13:42:46 -0700 Subject: persist_data: kill unreachable break line (Bitbake rev: 7486b38603f2766adaf976a9f95e9276c83abe31) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/persist_data.py | 1 - 1 file changed, 1 deletion(-) 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 -- cgit v1.2.3