Message ID | 62e396e0899eb0d295229a8e49e35716b24f6038.1637547674.git.anuj.mittal@intel.com |
---|---|
State | Accepted, archived |
Commit | 946f8f57a3e17fcb19a205e8a8a4b91a45a32f2e |
Headers | show |
Series | [1.50,1/8] bitbake: correct the collections vs collections.abc deprecation | expand |
diff --git a/lib/bb/data_smart.py b/lib/bb/data_smart.py index aa9ac2c8..65857a9c 100644 --- a/lib/bb/data_smart.py +++ b/lib/bb/data_smart.py @@ -403,7 +403,7 @@ class DataSmart(MutableMapping): s = __expand_python_regexp__.sub(varparse.python_sub, s) except SyntaxError as e: # Likely unmatched brackets, just don't expand the expression - if e.msg != "EOL while scanning string literal": + if e.msg != "EOL while scanning string literal" and not e.msg.startswith("unterminated string literal"): raise if s == olds: break