diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index b74affa7ec..911805a6e3 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1788,7 +1788,7 @@ class CookerCollectFiles(object): | |||
1788 | # When constructing an older style single regex, it's possible for BBMASK | 1788 | # When constructing an older style single regex, it's possible for BBMASK |
1789 | # to end up beginning with '|', which matches and masks _everything_. | 1789 | # to end up beginning with '|', which matches and masks _everything_. |
1790 | if mask.startswith("|"): | 1790 | if mask.startswith("|"): |
1791 | collectlog.warn("BBMASK contains regular expression beginning with '|', fixing: %s" % mask) | 1791 | collectlog.warning("BBMASK contains regular expression beginning with '|', fixing: %s" % mask) |
1792 | mask = mask[1:] | 1792 | mask = mask[1:] |
1793 | try: | 1793 | try: |
1794 | re.compile(mask) | 1794 | re.compile(mask) |