diff options
| author | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2021-06-28 10:36:39 +0200 |
|---|---|---|
| committer | Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> | 2021-07-29 14:19:07 +0000 |
| commit | 383364e671fb82e3c0ddca37a4690a1a33be3b54 (patch) | |
| tree | 56f64354d29df8914d197147426ccd108b975a43 /docker/nova | |
| parent | 796a8ec291035dc2fe7747b59d4d485fbe9fd693 (diff) | |
| download | kolla-383364e671fb82e3c0ddca37a4690a1a33be3b54.tar.gz kolla-383364e671fb82e3c0ddca37a4690a1a33be3b54.zip | |
Update code to Jinja 3.0 style
Xena cycle uses Jinja 3.0 so let update Kolla's code for it.
From Jinja2 documentation:
jinja2.contextfunction(f: F) → F
Pass the context as the first argument to the decorated function.
Deprecated since version 3.0: Will be removed in Jinja 3.1. Use pass_context() instead.
jinja2.contextfilter(f)
Pass the context as the first argument to the decorated function.
Deprecated since version 3.0: Will be removed in Jinja 3.1. Use pass_context() instead.
Also bumped version in requirements.txt to same as in openstack/requirements
Change-Id: I51fbb7b9ff7c29cb355437efa4576be9bc035699
Diffstat (limited to 'docker/nova')
0 files changed, 0 insertions, 0 deletions
