Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle multiline comments when exporting models to Python (fix #50715) #53358

Merged
merged 1 commit into from Jun 7, 2023
Merged

handle multiline comments when exporting models to Python (fix #50715) #53358

merged 1 commit into from Jun 7, 2023

Conversation

alexbruy
Copy link
Contributor

@alexbruy alexbruy commented Jun 5, 2023

Description

If model component has a multiline comment, exporting model to Python failed to handle these comments correctly: only a first line of the comment is prepended with the # characters.

Fixes #50715.

@alexbruy alexbruy added Processing Relating to QGIS Processing framework or individual Processing algorithms Bug Either a bug report, or a bug fix. Let's hope for the latter! backport queued_ltr_backports Queued Backports labels Jun 5, 2023
@alexbruy alexbruy requested a review from nyalldawson June 5, 2023 06:41
@github-actions github-actions bot added this to the 3.32.0 milestone Jun 5, 2023
@nyalldawson nyalldawson merged commit 7eca95a into qgis:master Jun 7, 2023
40 checks passed
@alexbruy alexbruy deleted the processing-model-comments-export branch June 8, 2023 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport queued_ltr_backports Queued Backports Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Model designer export as/run as python didn't catch newline in algorithm comments
2 participants