VirtualBox

Changeset 56000 in vbox for trunk/src


Ignore:
Timestamp:
May 21, 2015 11:42:45 AM (10 years ago)
Author:
vboxsync
Message:

fix python output tuple ordering issue with the changed IMachine.takeSnapshot. it reverses the order.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

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

    r55977 r56000  
    26352635        else:
    26362636            desc = ""
    2637         cmdAnyVm(ctx, mach, lambda ctx, mach, console, args: progressBar(ctx, mach.takeSnapshot(name, desc, true)[-1]))
     2637        cmdAnyVm(ctx, mach, lambda ctx, mach, console, args: progressBar(ctx, mach.takeSnapshot(name, desc, true)[1]))
    26382638        return 0
    26392639
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r55978 r56000  
    22502250                self.o.console.pause();
    22512251            if self.fpApiVer >= 5.0:
    2252                 oProgressCom = self.o.machine.takeSnapshot(sName, sDescription, True)[-1];
     2252                (oProgressCom, _id) = self.o.machine.takeSnapshot(sName, sDescription, True);
    22532253            else:
    22542254                oProgressCom = self.o.console.takeSnapshot(sName, sDescription);
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