diff options
Diffstat (limited to 'bitbake/lib')
-rw-r--r-- | bitbake/lib/bb/persist_data.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/persist_data.py b/bitbake/lib/bb/persist_data.py index 8120135511..283de9863d 100644 --- a/bitbake/lib/bb/persist_data.py +++ b/bitbake/lib/bb/persist_data.py | |||
@@ -97,7 +97,7 @@ class PersistData: | |||
97 | try: | 97 | try: |
98 | self.connection.execute(query) | 98 | self.connection.execute(query) |
99 | return | 99 | return |
100 | except pysqlite2.dbapi2.OperationalError, e: | 100 | except sqlite3.OperationalError, e: |
101 | if 'database is locked' in str(e): | 101 | if 'database is locked' in str(e): |
102 | continue | 102 | continue |
103 | raise | 103 | raise |