瀏覽代碼

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 查看文件


Loading…
取消
儲存