def _get_object(self, name):
        if self.use_pyrax:
            try:
                return self.container.get_object(name)
            except pyrax.exceptions.NoSuchObject:
                return None
        elif swiftclient:
            try:
                return self.container.get_object(name)
            except swiftclient.exceptions.ClientException:
                return None
        else:
            return self.container.get_object(name)
Helper function to retrieve the requested Object.
dataset/ETHPy150Open django-cumulus/django-cumulus/cumulus/authentication.py/Auth._get_object