[OE-core] [PATCH 1/3] oeqa/utils/commands.py: Add oeqa_copy function

Burton, Ross ross.burton at intel.com
Tue Jul 26 16:13:53 UTC 2016


On 26 July 2016 at 08:39, <mariano.lopez at linux.intel.com> wrote:

> +def oeqa_copy(src, dst):
> +    """
> +    Copy files and symlinks trying to preserve metadata.
> +    """
> +
> +    shutil.copy2(src, dst, follow_symlinks=False)
>

Why not just use shutil directly instead of having a wrapper function?

Ross
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160726/43c30d1e/attachment-0002.html>


More information about the Openembedded-core mailing list