#NEWLINE# @ Override ( VirtualMachineManager ) #NEWLINE# @ logged ( 'info' ) #NEWLINE# def prepare_vm( self ) : #NEWLINE# #INDENT# self . _print ( ( 'RESTORING %s FOR %s' % ( self . vm_base_snapshot , self . vm_name ) ) ) #NEWLINE# process = subprocess . Popen ( [ self . vboxmanage , 'snapshot' , self . vm_name , 'restore' , process . vm_base_snapshot ] ) #NEWLINE# result = process . wait ( ) #NEWLINE# self . _print ( ( 'RESTORED, RETURNED %s ' % result ) )