mirror of
https://github.com/OCA/server-backend.git
synced 2025-02-18 09:52:42 +02:00
little change
This commit is contained in:
committed by
Víctor Martínez
parent
27cf4034e6
commit
de210a6f7d
@@ -165,8 +165,7 @@ class BaseExternalDbsource(models.Model):
|
||||
"""It tests the connection
|
||||
|
||||
Raises:
|
||||
ConnectionSuccessError: On connection success
|
||||
ConnectionFailedError: On connection failed
|
||||
Validation message with the result of the connection (fail or success)
|
||||
"""
|
||||
try:
|
||||
with self.connection_open():
|
||||
|
||||
Reference in New Issue
Block a user