'Create the container if needed. No failure if it pre-exists.'

def put_container(self, container):

    try:
        self.conn.put_container(container)
    except socket.error as err:
        raise exception.SwiftConnectionFailed(reason=err)
    return
