Skip to content

Commit

Permalink
Minor style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperCraeghs committed Dec 7, 2023
1 parent d62eb30 commit e80704c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/mlx/jira_juggler.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,9 +385,9 @@ def load_from_jira_issue(self, jira_issue):
if hasattr(jira_issue.fields, 'issuelinks'):
for link in jira_issue.fields.issuelinks:
if hasattr(link, 'inwardIssue') and link.type.inward in self.links:
self.append_value(to_identifier(link.inwardIssue.key))
self.append_value(to_identifier(link.inwardIssue.key))
elif hasattr(link, 'outwardIssue') and link.type.outward in self.links:
self.append_value(to_identifier(link.outwardIssue.key))
self.append_value(to_identifier(link.outwardIssue.key))

def validate(self, task, tasks):
"""Validates (and corrects) the current task property
Expand Down Expand Up @@ -579,7 +579,6 @@ def __init__(self, endpoint, user, token, query, links=None):
all_jira_link_types = jirahandle.issue_link_types()
JugglerTaskDepends.links = determine_links(all_jira_link_types, links)


@staticmethod
def validate_tasks(tasks):
"""Validates (and corrects) tasks
Expand Down

0 comments on commit e80704c

Please sign in to comment.