

def upgrade(safe=True):
    '\n    Upgrade all packages.\n    '
    manager = MANAGER
    if safe:
        cmd = 'upgrade'
    else:
        cmd = 'dist-upgrade'
    run_as_root(('%(manager)s --assume-yes %(cmd)s' % locals()), pty=False)

dataset/ETHPy150Open ronnix/fabtools/fabtools/deb.py upgrade/original