@classmethod
    def choose_type(cls, content_type):
        """Choose object type from content type."""
        return cls.type_cls.SUBDIR if cls.subdir_types in content_type \
            else cls.type_cls.FILE
dataset/ETHPy150Open ryan-roemer/django-cloud-browser/cloud_browser/cloud/rackspace.py/RackspaceObject.choose_type/swapped operands of `in`