bitbake persist_data: Fix module reference
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2364 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
71068e7cee
commit
e33eaf13d5
|
@ -97,7 +97,7 @@ class PersistData:
|
||||||
try:
|
try:
|
||||||
self.connection.execute(query)
|
self.connection.execute(query)
|
||||||
return
|
return
|
||||||
except pysqlite2.dbapi2.OperationalError, e:
|
except sqlite3.OperationalError, e:
|
||||||
if 'database is locked' in str(e):
|
if 'database is locked' in str(e):
|
||||||
continue
|
continue
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in New Issue