Fix how we select changes from CORE DB in datasync
to placate SQLAlchemy warnings
This commit is contained in:
parent
87bd1faa58
commit
6e50ea58a8
|
@ -54,7 +54,7 @@ class CoreOfficeOpWatcher(DataSyncWatcher):
|
||||||
|
|
||||||
def get_changes(self, lastrun):
|
def get_changes(self, lastrun):
|
||||||
session = CoreSession()
|
session = CoreSession()
|
||||||
result = session.execute(sa.sql.select([self.corepos_changes]))
|
result = session.execute(self.corepos_changes.select())
|
||||||
changes = result.fetchall()
|
changes = result.fetchall()
|
||||||
session.close()
|
session.close()
|
||||||
if changes:
|
if changes:
|
||||||
|
|
Loading…
Reference in a new issue