diff options
-rw-r--r-- | meta/lib/oeqa/selftest/cases/devtool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oeqa/selftest/cases/devtool.py b/meta/lib/oeqa/selftest/cases/devtool.py index b8edc89768..4eba23890f 100644 --- a/meta/lib/oeqa/selftest/cases/devtool.py +++ b/meta/lib/oeqa/selftest/cases/devtool.py | |||
@@ -57,7 +57,7 @@ def setUpModule(): | |||
57 | if relpth.endswith('/'): | 57 | if relpth.endswith('/'): |
58 | destdir = os.path.join(corecopydir, relpth) | 58 | destdir = os.path.join(corecopydir, relpth) |
59 | # avoid race condition by not copying .pyc files YPBZ#13421,13803 | 59 | # avoid race condition by not copying .pyc files YPBZ#13421,13803 |
60 | shutil.copytree(pth, destdir, ignore=ignore_patterns('*.pyc', '__pycache__')) | 60 | shutil.copytree(pth, destdir, ignore=shutil.ignore_patterns('*.pyc', '__pycache__')) |
61 | else: | 61 | else: |
62 | destdir = os.path.join(corecopydir, os.path.dirname(relpth)) | 62 | destdir = os.path.join(corecopydir, os.path.dirname(relpth)) |
63 | bb.utils.mkdirhier(destdir) | 63 | bb.utils.mkdirhier(destdir) |