'Removes the container db represented by broker from the list of synced
containers.
:param broker: An instance of ContainerBroker representing the
container to remove.'

def remove_synced_container(self, broker):

    sync_file = broker.db_file
    sync_file = self._container_to_synced_container_path(sync_file)
    try:
        os.unlink(sync_file)
        os.removedirs(os.path.dirname(sync_file))
    except OSError as oserr:
        if (oserr.errno != errno.ENOENT):
            raise oserr
