Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AAriam committed Oct 25, 2023
1 parent f3330a1 commit 0b97e7c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ namespaces = true
# ----------------------------------------- Project Metadata -------------------------------------
#
[project]
version = "0.0.0.dev167"
version = "0.0.0.dev168"
name = "RepoDynamics"
dependencies = [
"packaging >= 23.2, < 24",
Expand Down
3 changes: 2 additions & 1 deletion src/repodynamics/actions/init.py
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,8 @@ def create_pattern(parts):
self.logger.error("Could not match the issue body to pattern defined in metadata.")
# Create a dictionary with titles as keys and matched content as values
sections = {
section_id: content.strip() if content else None for section_id, content in match.groupdict()
section_id: content.strip() if content else None
for section_id, content in match.groupdict().items()
}
return sections

Expand Down

0 comments on commit 0b97e7c

Please sign in to comment.