Dirk Alders 4 years ago
parent
commit
e5808ccfea
3 changed files with 7044 additions and 7041 deletions
  1. 5
    2
      __init__.py
  2. 7039
    7039
      _testresults_/unittest.json
  3. BIN
      _testresults_/unittest.pdf

+ 5
- 2
__init__.py View File

32
 import pickle
32
 import pickle
33
 import sys
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
 __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.
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
 For more Information read the documentation.""" % __name__.replace('_', '\_')
42
 For more Information read the documentation.""" % __name__.replace('_', '\_')

+ 7039
- 7039
_testresults_/unittest.json
File diff suppressed because it is too large
View File


BIN
_testresults_/unittest.pdf View File


Loading…
Cancel
Save