Skip to content

Commit

Permalink
Fix relative path for ALLOW_ASYNC_UNSAFE
Browse files Browse the repository at this point in the history
[noissue]
  • Loading branch information
mdellweg committed Sep 17, 2021
1 parent 457f508 commit 82b83a4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 82b83a4

Please sign in to comment.