def update_index(quiet=True):
    manager = MANAGER

    if quiet:
        with settings(hide('running', 'stdout', 'stderr', 'warnings'),
                      warn_only=True):
            run_as_root("%(manager)s --sync" % locals())
    else:
        run_as_root("%(manager)s --sync" % locals())
Raise `frappe.PermissionError`.
dataset/ETHPy150Open ronnix/fabtools/fabtools/portage.py/update_index--crossover with--dataset/ETHPy150Open frappe/frappe/frappe/model/document.py/Document.raise_no_permission_to