瀏覽代碼

fixed warning throwing in log

tanja 3 年之前
父節點
當前提交
44e8f5fd82
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      cdplib/log.py

+ 1 - 1
cdplib/log.py

@@ -127,7 +127,7 @@ class Log():
         '''
         self._logger.warning(message)
 
-        raise warnings.warn(message)
+        warnings.warn(message)
         
     def log_and_raise_warning(self, message):
         '''