diff options
Diffstat (limited to 'meta/lib/oe/packagedata.py')
-rw-r--r-- | meta/lib/oe/packagedata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/packagedata.py b/meta/lib/oe/packagedata.py index df1b4c52e3..21d4de914f 100644 --- a/meta/lib/oe/packagedata.py +++ b/meta/lib/oe/packagedata.py | |||
@@ -66,7 +66,7 @@ def _pkgmap(d): | |||
66 | bb.warn("No files in %s?" % pkgdatadir) | 66 | bb.warn("No files in %s?" % pkgdatadir) |
67 | files = [] | 67 | files = [] |
68 | 68 | ||
69 | for pn in filter(lambda f: not os.path.isdir(os.path.join(pkgdatadir, f)), files): | 69 | for pn in [f for f in files if not os.path.isdir(os.path.join(pkgdatadir, f))]: |
70 | try: | 70 | try: |
71 | pkgdata = read_pkgdatafile(os.path.join(pkgdatadir, pn)) | 71 | pkgdata = read_pkgdatafile(os.path.join(pkgdatadir, pn)) |
72 | except OSError: | 72 | except OSError: |