Temporarily remove redundant connection in complete_filter, bump version
This commit is contained in:
parent
c599a80a6c
commit
70873e4aec
@ -50,6 +50,8 @@ class SyncerBackend:
|
|||||||
if self.db_object == None:
|
if self.db_object == None:
|
||||||
raise ValueError('sync entry with id {} not found'.format(self.object_id))
|
raise ValueError('sync entry with id {} not found'.format(self.object_id))
|
||||||
|
|
||||||
|
return self.db_session
|
||||||
|
|
||||||
|
|
||||||
def disconnect(self):
|
def disconnect(self):
|
||||||
"""Commits state of sync to backend.
|
"""Commits state of sync to backend.
|
||||||
@ -285,9 +287,7 @@ class SyncerBackend:
|
|||||||
|
|
||||||
|
|
||||||
def complete_filter(self, n):
|
def complete_filter(self, n):
|
||||||
self.connect()
|
|
||||||
self.db_object_filter.set(n)
|
self.db_object_filter.set(n)
|
||||||
self.disconnect()
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = chainsyncer
|
name = chainsyncer
|
||||||
version = 0.0.1a16
|
version = 0.0.1a17
|
||||||
description = Generic blockchain syncer driver
|
description = Generic blockchain syncer driver
|
||||||
author = Louis Holbrook
|
author = Louis Holbrook
|
||||||
author_email = dev@holbrook.no
|
author_email = dev@holbrook.no
|
||||||
|
Loading…
Reference in New Issue
Block a user