Skip to content

Commit

Permalink
Ensure uniqueness of dependencies for TaskJuggler
Browse files Browse the repository at this point in the history
  • Loading branch information
JasperCraeghs committed Dec 12, 2023
1 parent a44e44b commit 2ff66d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mlx/jira_juggler.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,8 @@ def append_value(self, value):
Args:
value (object): Value to append to the property
"""
self.value.append(value)
if value not in self.value:
self.value.append(value)

def load_from_jira_issue(self, jira_issue):
"""Loads the object with data from a Jira issue
Expand Down

0 comments on commit 2ff66d0

Please sign in to comment.