summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/prserv/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/prserv/db.py b/bitbake/lib/prserv/db.py
index 7d74327..7bc1980 100644
--- a/bitbake/lib/prserv/db.py
+++ b/bitbake/lib/prserv/db.py
@@ -37,7 +37,7 @@ class PRTable(object):
37 try: 37 try:
38 return self.conn.execute(*query) 38 return self.conn.execute(*query)
39 except sqlite3.OperationalError as exc: 39 except sqlite3.OperationalError as exc:
40 if 'database is locked' in str(exc) and count < 500: 40 if 'is locked' in str(exc) and count < 500:
41 count = count + 1 41 count = count + 1
42 continue 42 continue
43 raise exc 43 raise exc