diff --git a/src/oca_github_bot/tasks/merge_bot.py b/src/oca_github_bot/tasks/merge_bot.py index 3108b794..3de21b08 100644 --- a/src/oca_github_bot/tasks/merge_bot.py +++ b/src/oca_github_bot/tasks/merge_bot.py @@ -28,9 +28,9 @@ from ..version_branch import make_merge_bot_branch, parse_merge_bot_branch from .main_branch_bot import main_branch_bot_actions from .migration_issue_bot import ( + _check_line_issue, _create_or_find_branch_milestone, _find_issue, - _check_line_issue ) _logger = getLogger(__name__) diff --git a/src/oca_github_bot/tasks/migration_issue_bot.py b/src/oca_github_bot/tasks/migration_issue_bot.py index 6150dbdd..5ba31dfa 100644 --- a/src/oca_github_bot/tasks/migration_issue_bot.py +++ b/src/oca_github_bot/tasks/migration_issue_bot.py @@ -28,6 +28,7 @@ def _find_issue(gh_repo, milestone, target_branch): break return issue + def _check_line_issue(gh_pr, issue): lines = [] regex = r"\#%s\d" % gh_pr.number @@ -38,6 +39,7 @@ def _check_line_issue(gh_pr, issue): lines.append(line) return lines + def _set_lines_issue(gh_pr, issue, module): lines = [] added = False