fix util.getMigratedItem()
This commit is contained in:
parent
8be18fa43e
commit
89058ecfc1
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ def getItem(uid, intIds=None, storage=None):
|
||||||
return obj
|
return obj
|
||||||
|
|
||||||
def getMigratedItem(uid, storage):
|
def getMigratedItem(uid, storage):
|
||||||
t = self.getUidTable
|
t = storage.getUidTable
|
||||||
stmt = t.select().where(t.c.legacy == int(uid))
|
stmt = t.select().where(t.c.legacy == int(uid))
|
||||||
newId = storage.session.execute(stmt).first()
|
newId = storage.session.execute(stmt).first()
|
||||||
if newId is not None:
|
if newId is not None:
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue