VirtualBox

Ignore:
Timestamp:
May 19, 2017 8:31:57 AM (8 years ago)
Author:
vboxsync
Message:

TxsConnectTask: Dropped the oVBox and fpApiVer members as the former is only used in the constructor and the latter isn't used at all.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/testdriver/vboxwrappers.py

    r66960 r66962  
    28482848        self.sMacAddr           = sMacAddr;
    28492849        self.fReversedSetup     = fReversedSetup;
    2850         self.oVBox              = oSession.oVBox;       ## @todo who needs this?
    28512850        self.oVBoxEventHandler  = None;
    28522851        self.oTxsSession        = None;
    2853         self.fpApiVer           = oSession.fpApiVer;    ## @todo who needs this?
    28542852
    28552853        # Skip things we don't implement.
     
    28782876            # 1. Register the callback / event listener object.
    28792877            dArgs = {'oParentTask':self, 'sMachineId':oSession.o.machine.id};
    2880             self.oVBoxEventHandler = self.oVBox.registerDerivedEventHandler(self.TxsConnectTaskVBoxCallback, dArgs);
     2878            self.oVBoxEventHandler = oSession.oVBox.registerDerivedEventHandler(self.TxsConnectTaskVBoxCallback, dArgs);
    28812879
    28822880            # 2. Query the guest properties.
     
    28992897    def toString(self):
    29002898        return '<%s cMsTimeout=%s, sIpAddr=%s, sNextIpAddr=%s, sMacAddr=%s, fReversedSetup=%s,' \
    2901                ' oTxsSession=%s oVBoxEventHandler=%s, oVBox=%s>' \
     2899               ' oTxsSession=%s oVBoxEventHandler=%s>' \
    29022900             % (TdTaskBase.toString(self), self.cMsTimeout, self.sIpAddr, self.sNextIpAddr, self.sMacAddr, self.fReversedSetup,
    2903                 self.oTxsSession, self.oVBoxEventHandler, self.oVBox);
     2901                self.oTxsSession, self.oVBoxEventHandler);
    29042902
    29052903    def _deregisterEventHandler(self):
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