Merge ~twom/launchpad:oci-fileno-error-on-upload into launchpad:master
Proposed by
Tom Wardill
Status: | Merged |
---|---|
Approved by: | Tom Wardill |
Approved revision: | 076490b97814a1b5c3ce899da8d9a04c0c417a49 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~twom/launchpad:oci-fileno-error-on-upload |
Merge into: | launchpad:master |
Diff against target: |
15 lines (+4/-0) 1 file modified
lib/lp/oci/model/ociregistryclient.py (+4/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+399644@code.launchpad.net |
Commit message
Workaround requests handling of extract tar files
Description of the change
Requests doesn't like extracted tar files, as they have a 'fileno' attribute, but accessing it causes an error.
Upstream requests PR is here: https:/
For now, just give the layer object a len (set to tarfile.size).
To post a comment you must log in.