'Deletes a backup object from a Swift object store.'

def delete_object(self, container, object_name):

    try:
        self.conn.delete_object(container, object_name)
    except socket.error as err:
        raise exception.SwiftConnectionFailed(reason=err)
