Skip to content

Fix hwconfig-edit failure with empty HWCONFIG_OPTS#3026

Merged
slaff merged 1 commit into
SmingHub:developfrom
mikee47:fix/hwconfig-edit-empty-opts
May 31, 2026
Merged

Fix hwconfig-edit failure with empty HWCONFIG_OPTS#3026
slaff merged 1 commit into
SmingHub:developfrom
mikee47:fix/hwconfig-edit-empty-opts

Conversation

@mikee47

@mikee47 mikee47 commented May 31, 2026

Copy link
Copy Markdown
Contributor

PR #3024 introduced a further subtle bug where empty HWCONFIG_OPTS values cause make hwconfig-edit to fail.

This is because changing str.split() to str.split(',') does not behave consistently. The former returns [ ] whilst the latter returns [ '' ].

@SmingHub SmingHub deleted a comment from what-the-diff Bot May 31, 2026
@slaff slaff added this to the 6.3.0 milestone May 31, 2026
@slaff slaff merged commit f0943f0 into SmingHub:develop May 31, 2026
31 checks passed
@mikee47 mikee47 deleted the fix/hwconfig-edit-empty-opts branch May 31, 2026 18:31
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.

2 participants