diff options
Diffstat (limited to 'bitbake/lib/bb')
-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 f5ae831c4a..90de40d649 100644 --- a/bitbake/lib/bb/cooker.py +++ b/bitbake/lib/bb/cooker.py | |||
@@ -1171,13 +1171,13 @@ class BBCooker: | |||
1171 | elif regex == "": | 1171 | elif regex == "": |
1172 | parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) | 1172 | parselog.debug(1, "BBFILE_PATTERN_%s is empty" % c) |
1173 | errors = False | 1173 | errors = False |
1174 | continue | 1174 | else: |
1175 | try: | 1175 | try: |
1176 | cre = re.compile(regex) | 1176 | cre = re.compile(regex) |
1177 | except re.error: | 1177 | except re.error: |
1178 | parselog.error("BBFILE_PATTERN_%s \"%s\" is not a valid regular expression", c, regex) | 1178 | parselog.error("BBFILE_PATTERN_%s \"%s\" is not a valid regular expression", c, regex) |
1179 | errors = True | 1179 | errors = True |
1180 | continue | 1180 | continue |
1181 | self.bbfile_config_priorities.append((c, regex, cre, collection_priorities[c])) | 1181 | self.bbfile_config_priorities.append((c, regex, cre, collection_priorities[c])) |
1182 | if errors: | 1182 | if errors: |
1183 | # We've already printed the actual error(s) | 1183 | # We've already printed the actual error(s) |