From bf82b9d64976e16cc7d598e6f5cd124cafbe30ca Mon Sep 17 00:00:00 2001 From: Novak Zaballa <41410593+novakzaballa@users.noreply.github.com> Date: Tue, 13 Aug 2024 10:36:37 -0400 Subject: [PATCH] fix: Rename match variable in external feature resources (#4490) --- api/features/feature_external_resources/views.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/features/feature_external_resources/views.py b/api/features/feature_external_resources/views.py index 641074215fe6..002a8e5da89a 100644 --- a/api/features/feature_external_resources/views.py +++ b/api/features/feature_external_resources/views.py @@ -82,9 +82,9 @@ def create(self, request, *args, **kwargs): status=status.HTTP_400_BAD_REQUEST, ) - match = re.search(pattern, url) - if match: - owner, repo, issue = match.groups() + url_match = re.search(pattern, url) + if url_match: + owner, repo, issue = url_match.groups() if GithubRepository.objects.get( github_configuration=github_configuration, repository_owner=owner,