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
|
"""It tests the connection
|
||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
ConnectionSuccessError: On connection success
|
Validation message with the result of the connection (fail or success)
|
||||||
ConnectionFailedError: On connection failed
|
|
||||||
"""
|
"""
|
||||||
try:
|
try:
|
||||||
with self.connection_open():
|
with self.connection_open():
|
||||||
|
|||||||
Reference in New Issue
Block a user