浏览代码

Release 6af573fff3

master
Dirk Alders 4 年前
父节点
当前提交
e5808ccfea
共有 3 个文件被更改,包括 7044 次插入7041 次删除
  1. 5
    2
      __init__.py
  2. 7039
    7039
      _testresults_/unittest.json
  3. 二进制
      _testresults_/unittest.pdf

+ 5
- 2
__init__.py 查看文件

@@ -32,8 +32,11 @@ import os
32 32
 import pickle
33 33
 import sys
34 34
 
35
-logger_name = 'CACHING'
36
-logger = logging.getLogger(logger_name)
35
+try:
36
+    from config import APP_NAME as ROOT_LOGGER_NAME
37
+except ImportError:
38
+    ROOT_LOGGER_NAME = 'root'
39
+logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__)
37 40
 
38 41
 __DESCRIPTION__ = """The Module {\\tt %s} is designed to store information in {\\tt json} or {\\tt pickle} files to support them much faster then generating them from the original source file.
39 42
 For more Information read the documentation.""" % __name__.replace('_', '\_')

+ 7039
- 7039
_testresults_/unittest.json
文件差异内容过多而无法显示
查看文件


二进制
_testresults_/unittest.pdf 查看文件


正在加载...
取消
保存