Skip to content

Replacing temporary file within a context manager causes failure #129

Description

@tashrifbillah

os.rename did not work when we changed the TMPDIR to /mnt/ProNET/newtmp. So we replaced it with os.replace

os.rename(tmp.name, filename)

If this solution is found stable, we shall commit it to kcho/pronet branch.


Edit:

os.replace was found to be ineffectual.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions