fix placement of cur.close
gitea/wcs/pipeline/head There was a failure building this commit
Details
gitea/wcs/pipeline/head There was a failure building this commit
Details
This commit is contained in:
parent
01f74d5c4b
commit
aa33052887
|
@ -4893,7 +4893,6 @@ class SearchableFormDef(SqlMixin):
|
|||
% (cls._table_name, cls._table_name)
|
||||
)
|
||||
cls.do_indexes(cur)
|
||||
cur.close()
|
||||
|
||||
from wcs.carddef import CardDef
|
||||
from wcs.formdef import FormDef
|
||||
|
@ -4903,6 +4902,7 @@ class SearchableFormDef(SqlMixin):
|
|||
):
|
||||
cls.update(obj=objectdef)
|
||||
init_search_tokens_data(cur)
|
||||
cur.close()
|
||||
|
||||
@classmethod
|
||||
def update(cls, obj=None, removed_obj_type=None, removed_obj_id=None):
|
||||
|
|
Loading…
Reference in New Issue