#5713 enhancement new
UnixSFTPFile hordes flag-conversion code
|Reported by:||Matt||Owned by:||Matt|
branch-diff, diff-cov, branch-cov, buildbot
Why: conch.unix.UnixSFTPFile.init has code that converts SFTP file-opening flags to os-module flags (for use with os.open). I'd like to use that flag-making code, but don't want to use UnixSFTPFile. I think the code should be factored out.
What: My patch takes the flag-making code from init and puts it in a reusable module-level function.
Change History (7)
comment:3 Changed 5 years ago by
|Author:||itamarst → magmatt|
|Owner:||set to Itamar Turner-Trauring|