Dirk Alders 3 years ago
parent
commit
bbc3c6f935
3 changed files with 5928 additions and 5864 deletions
  1. 5
    2
      __init__.py
  2. 5923
    5862
      _testresults_/unittest.json
  3. BIN
      _testresults_/unittest.pdf

+ 5
- 2
__init__.py View File

38
     from Queue import PriorityQueue
38
     from Queue import PriorityQueue
39
     from Queue import Empty
39
     from Queue import Empty
40
 
40
 
41
-logger_name = 'TASK'
42
-logger = logging.getLogger(logger_name)
41
+try:
42
+    from config import APP_NAME as ROOT_LOGGER_NAME
43
+except ImportError:
44
+    ROOT_LOGGER_NAME = 'root'
45
+logger = logging.getLogger(ROOT_LOGGER_NAME).getChild(__name__)
43
 
46
 
44
 __DESCRIPTION__ = """The Module {\\tt %s} is designed to help with task issues like periodic tasks, delayed tasks, queues, threaded queues and crontabs.
47
 __DESCRIPTION__ = """The Module {\\tt %s} is designed to help with task issues like periodic tasks, delayed tasks, queues, threaded queues and crontabs.
45
 For more Information read the documentation.""" % __name__.replace('_', '\_')
48
 For more Information read the documentation.""" % __name__.replace('_', '\_')

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


BIN
_testresults_/unittest.pdf View File


Loading…
Cancel
Save