VirtualBox

Ignore:
Timestamp:
Oct 18, 2010 2:58:06 PM (14 years ago)
Author:
vboxsync
Message:

vboxshell: tweaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxShell/vboxshell.py

    r33075 r33204  
    222222    print "removing machine ",mach.name,"with UUID",id
    223223    cmdClosedVm(ctx, mach, detachVmDevice, ["ALL"])
    224     mach = vb.unregisterMachine(id)
     224    mach = mach.unregister(ctx['global'].constants.CleanupMode_Full)
    225225    if mach:
    226226         mach.deleteSettings()
     
    613613def machById(ctx,id):
    614614    try:
     615        mach = ctx['vb'].getMachine(id)
     616    except:
    615617        mach = ctx['vb'].findMachine(id)
    616     except:
    617         mach = ctx['vb'].getMachine(id)
    618618    return mach
    619619
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette