diff options
Diffstat (limited to 'bitbake/lib/bb/cooker.py')
-rw-r--r-- | bitbake/lib/bb/cooker.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py index d254bd2797..7521ae878c 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1293,13 +1293,13 @@ class BBCooker: | |||
1293 | elif regex == "": | 1293 | elif regex == "": |
1294 | parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) | 1294 | parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) |
1295 | errors = False | 1295 | errors = False |
1296 | continue | 1296 | else: |
1297 | try: | 1297 | try: |
1298 | cre = re.compile(regex) | 1298 | cre = re.compile(regex) |
1299 | except re.error: | 1299 | except re.error: |
1300 | parselog.error("BBFILE_PATTERN_%s \"%s\" is not a valid regular expression", c, regex) | 1300 | parselog.error("BBFILE_PATTERN_%s \"%s\" is not a valid regular expression", c, regex) |
1301 | errors = True | 1301 | errors = True |
1302 | continue | 1302 | continue |
1303 | self.bbfile_config_priorities.append((c, regex, cre, collection_priorities[c])) | 1303 | self.bbfile_config_priorities.append((c, regex, cre, collection_priorities[c])) |
1304 | if errors: | 1304 | if errors: |
1305 | # We've already printed the actual error(s) | 1305 | # We've already printed the actual error(s) |