]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake persist_data: Fix module reference
authorRichard Purdie <richard@openedhand.com>
Sat, 4 Aug 2007 22:45:37 +0000 (22:45 +0000)
committerRichard Purdie <richard@openedhand.com>
Sat, 4 Aug 2007 22:45:37 +0000 (22:45 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2364 311d38ba-8fff-0310-9ca6-ca027cbcb966

bitbake/lib/bb/persist_data.py

index 8120135511ab9f9a2817848b1da510c4a961d8aa..283de9863d4d9e8445a0aeffab1fcaaf85439a56 100644 (file)
@@ -97,7 +97,7 @@ class PersistData:
             try:
                 self.connection.execute(query)
                 return
-            except pysqlite2.dbapi2.OperationalError, e:
+            except sqlite3.OperationalError, e:
                 if 'database is locked' in str(e):
                     continue
                 raise