]> code.ossystems Code Review - openembedded-core.git/commitdiff
persist_data: kill unreachable break line
authorChris Larson <chris_larson@mentor.com>
Tue, 8 Feb 2011 20:42:46 +0000 (13:42 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Feb 2011 22:35:12 +0000 (22:35 +0000)
(Bitbake rev: 7486b38603f2766adaf976a9f95e9276c83abe31)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/persist_data.py

index 5fe03223839879700bc8264773daca6ab314da4d..da057523113855ec869a3b41950ac8c46352a952 100644 (file)
@@ -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