Dirk Alders 3 anos atrás
pai
commit
bbc3c6f935
3 arquivos alterados com 5928 adições e 5864 exclusões
  1. 5
    2
      __init__.py
  2. 5923
    5862
      _testresults_/unittest.json
  3. BIN
      _testresults_/unittest.pdf

+ 5
- 2
__init__.py Ver arquivo

@@ -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
Diferenças do arquivo suprimidas por serem muito extensas
Ver arquivo


BIN
_testresults_/unittest.pdf Ver arquivo


Carregando…
Cancelar
Salvar