<s> from cloudferry . lib . base . action import transporter <EOL> from cloudferry . lib . os . actions import get_info_objects <EOL> from cloudferry . lib . utils import utils as utl <EOL> class CopyFromObjectToObject ( transporter . Transporter ) : <EOL> def __init__ ( self , init , src_cloud , dst_cloud ) : <EOL> self . src_cloud = src_cloud <EOL> self . dst_cloud = dst_cloud <EOL> super ( CopyFromObjectToObject , self ) . __init__ ( init ) <EOL> def run ( self , objstorage_info = None , ** kwargs ) : <EOL> dst_objstorage = self . dst_cloud . resources [ utl . OBJSTORAGE_RESOURCE ] <EOL> if not objstorage_info : <EOL> action_get_obj = get_info_objects . GetInfoObjects ( self . init , <EOL> self . src_cloud ) <EOL> objstorage_info = action_get_obj . run ( ) <EOL> dst_objstorage . deploy ( objstorage_info ) <EOL> return { } </s>
