summaryrefslogtreecommitdiff
path: root/swiftclient/multithreading.py
diff options
context:
space:
mode:
authorDaniel Wakefield <daniel.wakefield@hp.com>2014-11-06 18:48:17 +0000
committerDaniel Wakefield <daniel.wakefield@hp.com>2014-12-16 14:16:34 +0000
commit8fa6cc9b1b94c3f90eb02f1927b85e9987e65125 (patch)
treefa743bb4c9b451a1be0646a48b1762c019f6b6b7 /swiftclient/multithreading.py
parentd59af8cc8b3f5ddf846046dd11029b84db4828ea (diff)
downloadpython-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