소스 검색

Remove log message in destructor

ogert 5 년 전
부모
커밋
eb1947e6bb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      cdplib/db_handlers/SQLHandler.py

+ 1 - 1
cdplib/db_handlers/SQLHandler.py

@@ -46,6 +46,7 @@ class SQLHandler:
     closing of a database connection,
      this avoids errors when parallelizing with multiprocessing.
     '''
+    pass
     def __init__(self, db_uri: str = None,
                  is_case_insensitive: bool = False):
         '''
@@ -106,7 +107,6 @@ class SQLHandler:
 
     def __del__(self):
         self.dispose_engine()
-        self._log.info('SQL Handler has been destroyed')
 
     @property
     def _connection_params(self) -> dict: