<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 07/26/2016 11:13 AM, Burton, Ross
wrote:<br>
</div>
<blockquote
cite="mid:CAJTo0LZ_xcHiNGjWs7bJ7G9Tm6Zn5PDyPK5ppXHCdC7fekSk0g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
<div class="gmail_quote">On 26 July 2016 at 08:39, <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:mariano.lopez@linux.intel.com"
target="_blank">mariano.lopez@linux.intel.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div id=":26q" class="a3s aXjCH m15627e33faca692c">+def
oeqa_copy(src, dst):<br>
+ """<br>
+ Copy files and symlinks trying to preserve
metadata.<br>
+ """<br>
+<br>
+ shutil.copy2(src, dst, follow_symlinks=False)</div>
</blockquote>
</div>
<br>
Why not just use shutil directly instead of having a wrapper
function?</div>
</div>
</blockquote>
<br>
shutil.copytree didn't play nice with the symlinks, this is why I
added this function, nevertheless, I like Joshua's approach of use
oe.path.copytree(), so this function won't be needed.<br>
<br>
<blockquote
cite="mid:CAJTo0LZ_xcHiNGjWs7bJ7G9Tm6Zn5PDyPK5ppXHCdC7fekSk0g@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">Ross</div>
</div>
</blockquote>
<br>
<div class="moz-signature">Mariano</div>
</body>
</html>