Skip to content

Commit

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

(cherry picked from commit 876eb7f)
  • Loading branch information
dralley authored and mdellweg committed Sep 4, 2023
1 parent 9e19937 commit ba7379b
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
@@ -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
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 ba7379b

Please sign in to comment.