Skip to content

Commit

Permalink
Export some missing symbols for compatibility
Browse files Browse the repository at this point in the history
fixes pulp#635
  • Loading branch information
mdellweg committed Feb 17, 2023
1 parent de64a80 commit 5b71a91
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGES/635.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Reimport some missing symbols into their old location for compatibility.
6 changes: 5 additions & 1 deletion pulpcore/cli/common/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
EntityDefinition,
EntityFieldDefinition,
PluginRequirement,
PulpContentContext,
PulpContext,
PulpEntityContext,
PulpException,
PulpRemoteContext,
PulpRepositoryContext,
PulpRepositoryVersionContext,
registered_repository_contexts,
Expand All @@ -14,10 +16,12 @@
"EntityDefinition",
"EntityFieldDefinition",
"PluginRequirement",
"PulpContentContext",
"PulpContext",
"PulpEntityContext",
"PulpException",
"PulpRemoteContext",
"PulpRepositoryContext",
"PulpRepositoryVersionContext",
"PulpException",
"registered_repository_contexts",
]
4 changes: 2 additions & 2 deletions pulpcore/cli/core/context.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
from pulp_glue.core.context import PulpSigningServiceContext # noqa: F401
from pulp_glue.core.context import PulpArtifactContext, PulpSigningServiceContext # noqa: F401

__all__ = ["PulpSigningServiceContext"]
__all__ = ["PulpArtifactContext", "PulpSigningServiceContext"]

0 comments on commit 5b71a91

Please sign in to comment.