def _get_summary(rsync_out):
 return ('- ' + '\n- '.join([elm for elm in rsync_out.split('\n\n')[(-1)].replace('  ', '\n').split('\n') if elm]))

def _get_summary ( rsync_out ) : return ( '- ' + '\n- ' . join ( [ elm for elm in rsync_out . split ( '\n\n' ) [ ( - 1 ) ] . replace ( '  ' , '\n' ) . split ( '\n' ) if elm ] ) )
get summary from the rsync successfull output .