def upgrade(safe=True):
    manager = MANAGER
    if safe:
        cmd = 'upgrade'
    else:
        cmd = 'dist-upgrade'
    run_as_root("%(manager)s --assume-yes %(cmd)s" % locals(), pty=False)
Create a new Method instance.
dataset/ETHPy150Open ronnix/fabtools/fabtools/deb.py/upgrade--crossover with--dataset/ETHPy150Open hiranya911/rest-coder/python-lib/codegen_core.py/Method.__init__