grass.temporal.stds_import: Use pathlib Path.read_text and Path.write_text for proj string #4236
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Similar changes for stds_export are not in this PR by purpose. During the weekend, I had made a mistake in stds_export somewhere and didn't find it, but the mismatch in lengths of init file vs list file in stds_import, that wasn't touched yet. That's why I insist so much on separating input/output in different PRs.
Details on a failing test saved because stds_import and stds_export weren't changed together
In the spirit of #4224 (comment), this is only fixes the part where a context manager can be avoided.
See PR description of #4234 for an illustration of the implementation of read_text() and write_text()