#NEWLINE# def transfer_if_enough_space( self , size , src , dst ) : #NEWLINE# #INDENT# 'Copy if enough space.\n\n        :return: True on success (or False otherwise)\n\n        ' #NEWLINE# LOG . info ( 'Calculate free space on the destination cloud.' ) #NEWLINE# dst_free_space = self . free_space ( self . clouds [ DST ] , dst ) #NEWLINE# if ( dst_free_space > size ) : #NEWLINE# #INDENT# LOG . info ( 'Enough space found on %s' , dst ) #NEWLINE# LOG . info ( 'Start copying volume.' ) #NEWLINE# return self . run_transfer ( src , dst ) #NEWLINE# #UNINDENT# LOG . warning ( 'No enough space on %s' , dst )