From: tierno Date: Tue, 18 Sep 2018 11:42:56 +0000 (+0200) Subject: fix issue at vim_db X-Git-Tag: v5.0.0~2 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=87a75198f72e4d4201f8132263b5ba41b001424f;p=osm%2Fopenvim.git fix issue at vim_db Change-Id: I05817f1690cd78d8138c31303d97671355965d73 Signed-off-by: tierno --- 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