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))