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 8407db8b00..1124332186 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1784,7 +1784,7 @@ class CookerCollectFiles(object): | |||
1784 | # When constructing an older style single regex, it's possible for BBMASK | 1784 | # When constructing an older style single regex, it's possible for BBMASK |
1785 | # to end up beginning with '|', which matches and masks _everything_. | 1785 | # to end up beginning with '|', which matches and masks _everything_. |
1786 | if mask.startswith("|"): | 1786 | if mask.startswith("|"): |
1787 | collectlog.warn("BBMASK contains regular expression beginning with '|', fixing: %s" % mask) | 1787 | collectlog.warning("BBMASK contains regular expression beginning with '|', fixing: %s" % mask) |
1788 | mask = mask[1:] | 1788 | mask = mask[1:] |
1789 | try: | 1789 | try: |
1790 | re.compile(mask) | 1790 | re.compile(mask) |