From: Chris Larson Date: Tue, 8 Feb 2011 20:42:46 +0000 (-0700) Subject: persist_data: kill unreachable break line X-Git-Tag: 2011-1~2390 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=c68c5f6e31260549265d33da8dee563c574cbf40;p=openembedded-core.git persist_data: kill unreachable break line (Bitbake rev: 7486b38603f2766adaf976a9f95e9276c83abe31) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- 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