Invalid jinja pattern regex corrected
Due to this invalid regex it is not possible to run workflows with Jinja2 expressions in some python2 environment. Change-Id: I3d8fe9a617d5e3f916a8c102d0408354064b766c Closes-bug: #1658958
This commit is contained in:
parent
93ecd38dce
commit
5267e1eb1c
@ -26,8 +26,8 @@ from mistral.utils import expression_utils
|
||||
|
||||
LOG = logging.getLogger(__name__)
|
||||
|
||||
JINJA_REGEXP = '({{(.*)?}})'
|
||||
JINJA_BLOCK_REGEXP = '({%(.*)?%})'
|
||||
JINJA_REGEXP = '({{(.*)}})'
|
||||
JINJA_BLOCK_REGEXP = '({%(.*)%})'
|
||||
|
||||
_environment = jinja2.Environment(
|
||||
undefined=jinja2.StrictUndefined,
|
||||
|
Loading…
x
Reference in New Issue
Block a user