Skip to content

Commit

Permalink
[6.15.z] Fix upload_manifest to handle case where manifest.content is…
Browse files Browse the repository at this point in the history
… not set (#13834)
  • Loading branch information
Satellite-QE authored Jan 19, 2024
1 parent 11f0a42 commit 21b7b64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robottelo/host_helpers/satellite_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def upload_manifest(self, org_id, manifest=None, interface='API', timeout=None):
"""
if not isinstance(manifest, bytes | io.BytesIO):
if manifest.content is None:
if not hasattr(manifest, 'content') or manifest.content is None:
manifest = clone()
if timeout is None:
# Set the timeout to 1500 seconds to align with the API timeout.
Expand Down

0 comments on commit 21b7b64

Please sign in to comment.