From c0045aede98ae5293b5f91ff4c58f2e24ec67f7b Mon Sep 17 00:00:00 2001 From: Alexander Kreft <akreft@trineo.org> Date: Thu, 16 Sep 2021 12:14:02 +0200 Subject: [PATCH] MAINT: deleted connection --- src/caosdb/yamlapi.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/caosdb/yamlapi.py b/src/caosdb/yamlapi.py index 861d5d22..69eef001 100644 --- a/src/caosdb/yamlapi.py +++ b/src/caosdb/yamlapi.py @@ -137,6 +137,7 @@ def insert_yaml_file(yamlfilename, simulate=False): This function is deprecated and will be removed with the next release. Please use caosdb-advanced-user-tools/models/data_model.py for a similar functionality.""", DeprecationWarning) + con = get_connection() prs = etree.XMLParser(remove_blank_text=True) sent_xml = etree.tostring( etree.fromstring( -- GitLab