diff --git a/src/DIRAC/Core/Utilities/MySQL.py b/src/DIRAC/Core/Utilities/MySQL.py index 823bac69b15..323249bba16 100755 --- a/src/DIRAC/Core/Utilities/MySQL.py +++ b/src/DIRAC/Core/Utilities/MySQL.py @@ -401,7 +401,7 @@ def __getWithRetry(self, dbName, totalRetries, retriesLeft): def __ping(self, conn): try: - conn.ping(True) + conn.ping() return True except Exception: return False