(src, dst)
Copy src to dst, exit on failure
Copy src to dst, exit on failure
Copy src to dst exit on failure
def must_copy(src, dst):
        '''Copy src to dst, exit on failure'''
        try:
            shutil.copy(src, dst)
        except Exception as e:
            Utils.error('failed to copy %s to %s: %s' % (src, dst, e))
def must_copy ( src , dst ) : try : shutil . copy ( src , dst ) except Exception as e : Utils . error ( 'failed to copy %s to %s: %s' % ( src , dst , e ) )