Skip to content

grass.app: Use None as default value, hide os.environ #6101

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

Merged
merged 1 commit into from
Jul 22, 2025

Conversation

wenzeslaus
Copy link
Member

Use the same practice as elsewhere and hide os.environ inside the function using None as the default value in the function signature.

Fixes leaking of env vars into doc.

Fixes #6089

Use the same practice as elsewhere and hide os.environ inside the function using None as the default value in the function signature.

Fixes leaking of env vars into doc.

Fixes OSGeo#6089
@echoix echoix merged commit 006f24e into OSGeo:main Jul 22, 2025
27 of 28 checks passed
@github-actions github-actions bot added this to the 8.5.0 milestone Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libraries Python Related code is in Python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] grass.app.runtime.RuntimePaths default value is dangerous and leaks into rendered docs
2 participants