Skip to content

fix: strip all whitespace from relation key/value parsing#1

Merged
dirtycache merged 1 commit into
mainfrom
fix/multiline-relation-whitespace
Jun 19, 2026
Merged

fix: strip all whitespace from relation key/value parsing#1
dirtycache merged 1 commit into
mainfrom
fix/multiline-relation-whitespace

Conversation

@dirtycache

Copy link
Copy Markdown
Owner

Cherry-pick of upstream PR fix for multiline relation config parsing.
See bb-Ricardo#511 for full context.

…rsing

configparser joins multi-line values with \n, so relation entries on
continuation lines start with a leading newline. The previous strip(' "')
left that newline in the regex pattern, causing matches to fail unless
the annotation itself started with a newline.

Using strip() fixes multi-line *_relation config values in settings.ini.
@dirtycache dirtycache merged commit e9fad7e into main Jun 19, 2026
@dirtycache dirtycache deleted the fix/multiline-relation-whitespace branch June 19, 2026 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant