Skip to content

Commit

Permalink
fix-issue-150
Browse files Browse the repository at this point in the history
This patch fixes issue RedHatQE#150 changing
work_item.py get_custom_fields method return code
from : None
to : cls._all_custom_fields, cls._required_fields

Signed-off-by: Eli Mesika <emesika@redjat.com>
  • Loading branch information
emesika committed Jul 24, 2023
1 parent e98eef1 commit eeeae8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pylero/work_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -1468,7 +1468,7 @@ def get_custom_fields(cls, project_id):
if cft.required:
cls._required_fields.append(local_name)
cls._got_custom_fields = True
return None
return cls._all_custom_fields, cls._required_fields

@classmethod
def query(
Expand Down

0 comments on commit eeeae8d

Please sign in to comment.