Skip to content

Commit

Permalink
- Fix issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Jun 25, 2024
1 parent 597507b commit 244bc03
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/release_notes/model/record.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ def to_chapter_row(self, row_format="", increment_in_chapters=True):
def contains_labels(self, labels: list[str]) -> bool:
if self.is_issue:
logging.debug(f"Check labels - Issue: {labels} for record nr {self.__gh_issue.number}, title {self.__gh_issue.title}")
logging.debug(f"type: {type(self.__gh_issue)}")
return self.__gh_issue.contains_labels(labels)
else:
print(f"Check labels - PR: {labels} for record nr {self.__pulls[0].number}, title {self.__pulls[0].title}")
Expand Down

0 comments on commit 244bc03

Please sign in to comment.