VirtualBox

Changeset 24859 in vbox for trunk/src


Ignore:
Timestamp:
Nov 23, 2009 10:08:00 AM (15 years ago)
Author:
vboxsync
Message:

Python shell: adopt to new medium API

File:
1 edited

Legend:

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

    r24822 r24859  
    242242    try:
    243243       mach = session.machine
    244        for d in ctx['global'].getArray(mach, 'hardDiskAttachments'):
    245           mach.detachHardDisk(d.controller, d.port, d.device)
     244       for d in ctx['global'].getArray(mach, 'mediumAttachments'):
     245          mach.detachDevice(d.controller, d.port, d.device)
    246246    except:
    247247       traceback.print_exc()
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