VirtualBox

Ignore:
Timestamp:
Mar 20, 2018 10:37:27 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
121354
Message:

bugref:8345. Removed the trailing whitespaces.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/ValidationKit/tests/api/tdMoveVM1.py

    r71387 r71390  
    288288            if fRc is False:
    289289                reporter.log('Couldn\'t close machine session')
    290  
     290
    291291            #Run VM and get new Session object
    292292            oSession = self.oTstDrv.startVm(oMachine)
    293  
     293
    294294            #some time interval should be here for not closing VM just after start
    295295            time.sleep(1)
    296  
     296
    297297            if oMachine.state != self.oTstDrv.oVBoxMgr.constants.MachineState_Running:
    298298                reporter.log("Machine '%s' is not Running" % (oMachine.name))
     
    303303            self.oTstDrv.terminateVmBySession(oSession)
    304304
    305             if fRc: 
     305            if fRc:
    306306                sLoc = sMoveLoc + os.sep + oMachine.name + os.sep
    307307                sMoveLoc = os.path.join(sOrigLoc, 'moveFolder_4th_scenario')
    308308                os.mkdir(sMoveLoc, 0o775)
    309  
     309
    310310                #create a new Session object for moving VM
    311311                oSession = self.oTstDrv.openSession(oMachine)
    312312                fRc = self.moveVMToLocation(sMoveLoc, oSession.o.machine) and fRc
    313313
    314                 # cleaning up: get rid of saved state 
     314                # cleaning up: get rid of saved state
    315315                fRc = fRc and oSession.o.machine.discardSavedState(True)
    316316                if fRc is False:
Note: See TracChangeset for help on using the changeset viewer.

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