@requires(boto, 'boto')
    def translate(self, exc):
        from boto.exception import StorageResponseError

        if isinstance(exc, StorageResponseError):
            if exc.status == 404:
                return self.error_cls(unicode(exc))

        return None
Return whether or not to do translation.
dataset/ETHPy150Open ryan-roemer/django-cloud-browser/cloud_browser/cloud/boto_base.py/BotoExceptionWrapper.translate