Show More
@@ -19,7 +19,7 b'' | |||
|
19 | 19 | import logging |
|
20 | 20 | from pyramid.threadlocal import get_current_registry |
|
21 | 21 | |
|
22 | log = logging.getLogger() | |
|
22 | log = logging.getLogger(__name__) | |
|
23 | 23 | |
|
24 | 24 | |
|
25 | 25 | def trigger(event, registry=None): |
@@ -22,7 +22,7 b' from rhodecode.translation import lazy_u' | |||
|
22 | 22 | from rhodecode.model.db import User, Repository, Session |
|
23 | 23 | from rhodecode.events.base import RhodecodeEvent |
|
24 | 24 | |
|
25 | log = logging.getLogger() | |
|
25 | log = logging.getLogger(__name__) | |
|
26 | 26 | |
|
27 | 27 | |
|
28 | 28 | class RepoEvent(RhodecodeEvent): |
@@ -217,4 +217,4 b' class RepoPushEvent(RepoVCSEvent):' | |||
|
217 | 217 | 'issues': issues, |
|
218 | 218 | 'branches': branches, |
|
219 | 219 | } |
|
220 | return data No newline at end of file | |
|
220 | return data |
@@ -19,7 +19,7 b'' | |||
|
19 | 19 | |
|
20 | 20 | import logging |
|
21 | 21 | |
|
22 | log = logging.getLogger() | |
|
22 | log = logging.getLogger(__name__) | |
|
23 | 23 | |
|
24 | 24 | |
|
25 | 25 | class IntegrationTypeRegistry(dict): |
@@ -36,7 +36,7 b' from rhodecode.lib.colander_utils import' | |||
|
36 | 36 | from rhodecode.integrations.types.base import IntegrationTypeBase |
|
37 | 37 | from rhodecode.integrations.schema import IntegrationSettingsSchemaBase |
|
38 | 38 | |
|
39 | log = logging.getLogger() | |
|
39 | log = logging.getLogger(__name__) | |
|
40 | 40 | |
|
41 | 41 | |
|
42 | 42 | class SlackSettingsSchema(IntegrationSettingsSchemaBase): |
@@ -31,7 +31,7 b' from rhodecode.translation import lazy_u' | |||
|
31 | 31 | from rhodecode.integrations.types.base import IntegrationTypeBase |
|
32 | 32 | from rhodecode.integrations.schema import IntegrationSettingsSchemaBase |
|
33 | 33 | |
|
34 | log = logging.getLogger() | |
|
34 | log = logging.getLogger(__name__) | |
|
35 | 35 | |
|
36 | 36 | |
|
37 | 37 | class WebhookSettingsSchema(IntegrationSettingsSchemaBase): |
General Comments 0
You need to be logged in to leave comments.
Login now