Ticket #5713 enhancement new
UnixSFTPFile hordes flag-conversion code
| Reported by: | magmatt | Owned by: | magmatt |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | conch | Keywords: | |
| Cc: | z3p | Branch: | branches/hoarders-conch-edition-5713 |
| Author: | magmatt | Launchpad Bug: |
Description
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.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

