Dirk Alders 3 anni fa
parent
commit
bbc3c6f935
3 ha cambiato i file con 5928 aggiunte e 5864 eliminazioni
  1. 5
    2
      __init__.py
  2. 5923
    5862
      _testresults_/unittest.json
  3. BIN
      _testresults_/unittest.pdf

+ 5
- 2
__init__.py Vedi File

@@ -38,8 +38,11 @@ else:
38 38
     from Queue import PriorityQueue
39 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 47
 __DESCRIPTION__ = """The Module {\\tt %s} is designed to help with task issues like periodic tasks, delayed tasks, queues, threaded queues and crontabs.
45 48
 For more Information read the documentation.""" % __name__.replace('_', '\_')

+ 5923
- 5862
_testresults_/unittest.json
File diff soppresso perché troppo grande
Vedi File


BIN
_testresults_/unittest.pdf Vedi File


Loading…
Annulla
Salva