little change

This commit is contained in:
bilbonet
2022-03-01 12:21:16 +01:00
parent b9843fe1c7
commit 38d41a8359

View File

@@ -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():