diff --git a/pulp_python/app/models.py b/pulp_python/app/models.py index 76a9f31b..0f10b2e7 100644 --- a/pulp_python/app/models.py +++ b/pulp_python/app/models.py @@ -101,7 +101,7 @@ def content_handler(self, path): url = URL(file.storage.url(file.name, parameters=parameters), encoded=True) # Trick the content app to stream the metadata from the remote storage remote = PythonRemote(name="Redirect", url=str(url), policy="streamed") - remote.get_remote_artifact_url = lambda x: str(url) + remote.get_remote_artifact_url = lambda *args, **kwargs: str(url) setattr(self, "publication", None) setattr(self, "repository", None) setattr(self, "remote", remote)