Тэг calculate не поддерживает условия начинающиеся с констант #56

Closed
opened 3 years ago by icerider · 0 comments
Collaborator

Переменная install.os.linux.pkglist список ['CLDX','CLD','base']

Шаблон

{% calculate comment='#', 'CLDX' in install.os.linux.pkglist %}
Template error: Can not parse token 'CLDX' in caluculate tag..

Шаблон (обходной вариант) работает

{% calculate comment='#', ('CLDX' in install.os.linux.pkglist) %}
Переменная `install.os.linux.pkglist` список `['CLDX','CLD','base']` Шаблон ``` {% calculate comment='#', 'CLDX' in install.os.linux.pkglist %} ``` ``` Template error: Can not parse token 'CLDX' in caluculate tag.. ``` Шаблон (обходной вариант) работает ``` {% calculate comment='#', ('CLDX' in install.os.linux.pkglist) %} ```
icerider added the low label 3 years ago
derzeitgeist closed this issue 3 years ago
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: calculate/calculate-utils-4-lib#56
Loading…
There is no content yet.