Skip to content

Commit

Permalink
Ensure monkeypatch is properly loaded
Browse files Browse the repository at this point in the history
closes #4351

(cherry picked from commit 876eb7f)
  • Loading branch information
dralley authored and mdellweg committed Sep 4, 2023
1 parent 08eb74d commit fb43a6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGES/4351.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Ensure the compression level is reliably set properly as per #3869.
4 changes: 4 additions & 0 deletions pulpcore/app/tasks/export.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import os.path
import subprocess
import tarfile

from distutils.util import strtobool
from gettext import gettext as _
from glob import glob
Expand All @@ -26,6 +27,9 @@
)
from pulpcore.app.models.content import ContentArtifact
from pulpcore.app.serializers import PulpExportSerializer

# ensure the compression patch is loaded
from pulpcore.app import monkeypatch # noqa
from pulpcore.app.util import get_version_from_model
from pulpcore.app.importexport import (
export_versions,
Expand Down

0 comments on commit fb43a6a

Please sign in to comment.