Remove missed async keywords from the revert

This should've been in 7d21b40401.
This completes the revert of async sessions.
This commit is contained in:
Lonami Exo
2022-08-30 12:39:17 +02:00
parent e87e6738b5
commit 48d7dbe90b
5 changed files with 7 additions and 24 deletions

View File

@@ -215,7 +215,7 @@ class SQLiteSession(MemorySession):
entity_id, state.pts, state.qts,
state.date.timestamp(), state.seq)
async def get_update_states(self):
def get_update_states(self):
c = self._cursor()
try:
rows = c.execute('select id, pts, qts, date, seq from update_state').fetchall()
@@ -332,7 +332,7 @@ class SQLiteSession(MemorySession):
return self._execute(
'select id, hash from entities where name = ?', name)
async def get_entity_rows_by_id(self, id, exact=True):
def get_entity_rows_by_id(self, id, exact=True):
if exact:
return self._execute(
'select id, hash from entities where id = ?', id)