Show More
@@ -15,8 +15,9 b'' | |||
|
15 | 15 | # This program is dual-licensed. If you wish to learn more about the |
|
16 | 16 | # RhodeCode Enterprise Edition, including its added features, Support services, |
|
17 | 17 | # and proprietary license terms, please see https://rhodecode.com/licenses/ |
|
18 | ||
|
18 | import logging | |
|
19 | 19 | from .utils import DotDict, HookResponse, has_kwargs |
|
20 | log = logging.getLogger('rhodecode.' + __name__) | |
|
20 | 21 | |
|
21 | 22 | |
|
22 | 23 | # Config shortcut to keep, all configuration in one place |
@@ -16,10 +16,13 b'' | |||
|
16 | 16 | # RhodeCode Enterprise Edition, including its added features, Support services, |
|
17 | 17 | # and proprietary license terms, please see https://rhodecode.com/licenses/ |
|
18 | 18 | |
|
19 | import logging | |
|
19 | 20 | import os |
|
20 | 21 | import functools |
|
21 | 22 | import collections |
|
22 | 23 | |
|
24 | log = logging.getLogger('rhodecode.' + __name__) | |
|
25 | ||
|
23 | 26 | |
|
24 | 27 | class HookResponse(object): |
|
25 | 28 | def __init__(self, status, output): |
@@ -135,6 +138,7 b' def has_kwargs(required_args):' | |||
|
135 | 138 | _verify_kwargs(func.func_name, required_args.keys(), kwargs) |
|
136 | 139 | # in case there's `calls` defined on module we store the data |
|
137 | 140 | maybe_log_call(func.func_name, args, kwargs) |
|
141 | log.debug('Calling rcextensions function %s', func.func_name) | |
|
138 | 142 | return func(*args, **kwargs) |
|
139 | 143 | return wrapper |
|
140 | 144 | return wrap |
General Comments 0
You need to be logged in to leave comments.
Login now