diff --git a/templates/github/.github/workflows/scripts/before_install.sh.j2 b/templates/github/.github/workflows/scripts/before_install.sh.j2 index 0cd48e64..99bea9cb 100755 --- a/templates/github/.github/workflows/scripts/before_install.sh.j2 +++ b/templates/github/.github/workflows/scripts/before_install.sh.j2 @@ -167,12 +167,12 @@ then fi sed -i -e 's/DEBUG = False/DEBUG = True/' pulpcore/pulpcore/app/settings.py - -{% if not tasking_allow_async_unsafe -%} +{%- if not tasking_allow_async_unsafe %} # Patch DJANGO_ALLOW_ASYNC_UNSAFE out of the pulpcore tasking_system # Don't let it fail. Be opportunistic. -sed -i -e '/DJANGO_ALLOW_ASYNC_UNSAFE/d' ../pulpcore/pulpcore/tasking/entrypoint.py || true -{% endif -%} +sed -i -e '/DJANGO_ALLOW_ASYNC_UNSAFE/d' pulpcore/pulpcore/tasking/entrypoint.py || true +{%- endif %} + cd {{ plugin_name }} if [ -f $POST_BEFORE_INSTALL ]; then