diff options
author | Daniel Wakefield <daniel.wakefield@hp.com> | 2014-11-06 18:48:17 +0000 |
---|---|---|
committer | Daniel Wakefield <daniel.wakefield@hp.com> | 2014-12-16 14:16:34 +0000 |
commit | 8fa6cc9b1b94c3f90eb02f1927b85e9987e65125 (patch) | |
tree | fa743bb4c9b451a1be0646a48b1762c019f6b6b7 /swiftclient/multithreading.py | |
parent | d59af8cc8b3f5ddf846046dd11029b84db4828ea (diff) | |
download | python-swiftclient-8fa6cc9b1b94c3f90eb02f1927b85e9987e65125.tar.gz |
Fix misplaced check for None in SwiftUploadObject.
Check for None was being done after a method call which
caused an attribute error if the value was None.
The Method call was also a mistake and has been corrected to the
hasattr function like intended.
Added Tests.
Closes-Bug: 1392651
Change-Id: Ifb1c84e26533bccbaddcce5738f434f36feca74e
Diffstat (limited to 'swiftclient/multithreading.py')
0 files changed, 0 insertions, 0 deletions