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

+ 1 - 1
cdplib/db_handlers/MongodbHandler.py

@@ -111,7 +111,7 @@ class MongodbHandler:
         try:
             return_message = self._database.drop_collection(collection_name)
             if 'errmsg' in return_message:
-                self._log.warning(('Couldnt drop the collection {}. Error: {}').format(collection_name, return_message['errmsg'])
+                self._log.warning(('Couldnt drop the collection {}. Error: {}').format(collection_name, return_message['errmsg']))
         except Exception as error:
             self._log.log_and_raise_error(('Couldnt drop the collection {}. Error: {}').format(collection_name, error))