softlayer / softlayer-object-storage-python

SoftLayer Object Storage Python Client
Other
19 stars 30 forks source link

Fixes exception when using is_dir on an object #27

Closed briancline closed 9 years ago

briancline commented 9 years ago

StorageObject wasn't properly referencing the content type within Model.

This change also adds a test to ensure this not only gets tested but that all possible combinations of dir-like content types and a non-dir content type yield correct results.

Closes-bug: #20