|
|
|
|
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('_', '\_')
|