VirtualBox

Changeset 94187 in vbox for trunk


Ignore:
Timestamp:
Mar 11, 2022 6:40:19 PM (3 years ago)
Author:
vboxsync
Message:

Main: Guest Properties: fix python related build issues (related to r150440), ​​​bugref:10185.

Location:
trunk/src/VBox
Files:
2 edited

Legend:

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

    r94184 r94187  
    365365            gpcev = ctx['global'].queryInterface(event, 'IGuestPropertyChangedEvent')
    366366            if gpcev:
    367                 if (gpcev.fWasDeleted)
     367                if gpcev.fWasDeleted is True:
    368368                    print("property %s was deleted" % (gpcev.name))
    369369                else
  • trunk/src/VBox/ValidationKit/testdriver/vbox.py

    r94184 r94187  
    783783    def onSnapshotChange(self, sMachineId, sSnapshotId):
    784784        pass;
    785     def onGuestPropertyChange(self, sMachineId, sName, sValue, sFlags):
     785    def onGuestPropertyChange(self, sMachineId, sName, sValue, sFlags, fWasDeleted):
    786786        pass;
    787787    # pylint: enable=missing-docstring,unused-argument
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