Skip to content

Commit

Permalink
Fix tuple issue on DD_JIRA_EXTRA_ISSUE_TYPES (#7775)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gby56 authored Mar 9, 2023
1 parent cf140b7 commit 8a20111
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dojo/settings/settings.dist.py
Original file line number Diff line number Diff line change
Expand Up @@ -1450,9 +1450,9 @@ def saml2_attrib_map_format(dict):
if env('DD_JIRA_EXTRA_ISSUE_TYPES') != '':
if env('DD_JIRA_EXTRA_ISSUE_TYPES').count(',') > 0:
for extra_type in env('DD_JIRA_EXTRA_ISSUE_TYPES').split(','):
JIRA_ISSUE_TYPE_CHOICES_CONFIG += (extra_type, extra_type)
JIRA_ISSUE_TYPE_CHOICES_CONFIG += (extra_type, extra_type),
else:
JIRA_ISSUE_TYPE_CHOICES_CONFIG += (env('DD_JIRA_EXTRA_ISSUE_TYPES'), env('DD_JIRA_EXTRA_ISSUE_TYPES'))
JIRA_ISSUE_TYPE_CHOICES_CONFIG += (env('DD_JIRA_EXTRA_ISSUE_TYPES'), env('DD_JIRA_EXTRA_ISSUE_TYPES')),

JIRA_SSL_VERIFY = env('DD_JIRA_SSL_VERIFY')

Expand Down

0 comments on commit 8a20111

Please sign in to comment.