Skip to content

Commit e27e510

Browse files
authored
Update helper.py
- fixes space - adds missing library
1 parent 84483aa commit e27e510

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

dojo/jira_link/helper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from typing import Any
77

88
import requests
9+
from dateutil.relativedelta import relativedelta
910
from django.conf import settings
1011
from django.contrib import messages
1112
from django.template import TemplateDoesNotExist
@@ -1802,7 +1803,7 @@ def process_resolution_from_jira(finding, resolution_id, resolution_name, assign
18021803

18031804
if finding.test.engagement.product.enable_full_risk_acceptance:
18041805
logger.debug(f"Creating risk acceptance for finding linked to {jira_issue.jira_key}.")
1805-
# loads the expiration from the system setting "Risk acceptance form default days" as otherwise
1806+
# loads the expiration from the system setting "Risk acceptance form default days" as otherwise
18061807
# the acceptance will never expire
18071808
risk_acceptance_form_default_days = get_system_setting("risk_acceptance_form_default_days", 90)
18081809
expiration_date_from_system_settings = timezone.now() + relativedelta(days=risk_acceptance_form_default_days)

0 commit comments

Comments
 (0)