put_object file reset capability sniffing fails
Bug #1216981 reported by
Stuart Bishop
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-swiftclient |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
In Connection.
Unfortunately, some file-like objects define these methods but they don't work. In particular, subprocess.Popen objects cannot be passed in as tell() raises an IOError exception and the upload is never attempted.
Instead, this sniffing could be bypassed entirely if retries has been disabled. This would preserve the current behavior, and let a lot more file-like objects be used.
Changed in python-swiftclient: | |
status: | New → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/45017
Review: https:/