From 87a75198f72e4d4201f8132263b5ba41b001424f Mon Sep 17 00:00:00 2001 From: tierno Date: Tue, 18 Sep 2018 13:42:56 +0200 Subject: [PATCH] fix issue at vim_db Change-Id: I05817f1690cd78d8138c31303d97671355965d73 Signed-off-by: tierno --- osm_openvim/vim_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osm_openvim/vim_db.py b/osm_openvim/vim_db.py index a2f1f1f..5359c01 100644 --- a/osm_openvim/vim_db.py +++ b/osm_openvim/vim_db.py @@ -79,7 +79,7 @@ class vim_db(): Following calls can skip this parameters """ try: - with self.lock, self.con: + with self.lock: if host: self.host = host self.con = None -- 2.25.1