File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ def __call__( # pylint: disable=inconsistent-return-statements
7373 if event .target == "comment" :
7474 log_context = log_context .update (operation = Operation .COMMENT )
7575 if linked_issue_key :
76- return self .comment_create_or_noop (
76+ return self .create_comment (
7777 log_context = log_context ,
7878 bug = bug ,
7979 event = event ,
@@ -108,7 +108,7 @@ def __call__( # pylint: disable=inconsistent-return-statements
108108 )
109109 return False , {}
110110
111- def comment_create_or_noop (
111+ def create_comment (
112112 self ,
113113 log_context : ActionLogContext ,
114114 bug : BugzillaBug ,
Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ def on_create_issue(
4646 event : BugzillaWebhookEvent ,
4747 issue_key : str ,
4848 ):
49+ """Hook to modify the recently created Jira issue"""
4950 log_context = log_context .update (
5051 extra = {
5152 ** log_context .extra ,
@@ -75,6 +76,7 @@ def on_update_issue(
7576 event : BugzillaWebhookEvent ,
7677 issue_key : str ,
7778 ):
79+ """Hook to modify the recently modified Jira issue"""
7880 # We don't do the upper class updates (add comments for status and assignee).
7981 log_context = log_context .update (
8082 extra = {
You can’t perform that action at this time.
0 commit comments