equal
deleted
inserted
replaced
75 DBG_SQL = 2 |
75 DBG_SQL = 2 |
76 #: repository events |
76 #: repository events |
77 DBG_REPO = 4 |
77 DBG_REPO = 4 |
78 #: multi-sources |
78 #: multi-sources |
79 DBG_MS = 8 |
79 DBG_MS = 8 |
|
80 #: hooks |
|
81 DBG_HOOKS = 16 |
|
82 #: operations |
|
83 DBG_OPS = 32 |
80 #: more verbosity |
84 #: more verbosity |
81 DBG_MORE = 16 |
85 DBG_MORE = 64 |
82 #: all level enabled |
86 #: all level enabled |
83 DBG_ALL = DBG_RQL + DBG_SQL + DBG_REPO + DBG_MS + DBG_MORE |
87 DBG_ALL = DBG_RQL + DBG_SQL + DBG_REPO + DBG_MS + DBG_HOOKS + DBG_OPS + DBG_MORE |
84 |
88 |
85 #: current debug mode |
89 #: current debug mode |
86 DEBUG = 0 |
90 DEBUG = 0 |
87 |
91 |
88 def set_debug(debugmode): |
92 def set_debug(debugmode): |