fix issue at vim_db 02/6502/1
authortierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 18 Sep 2018 11:42:56 +0000 (13:42 +0200)
committertierno <alfonso.tiernosepulveda@telefonica.com>
Tue, 18 Sep 2018 11:42:56 +0000 (13:42 +0200)
Change-Id: I05817f1690cd78d8138c31303d97671355965d73
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_openvim/vim_db.py

index a2f1f1f..5359c01 100644 (file)
@@ -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