Skip to content

Commit

Permalink
fixed sanity suite, AttributeError due to not matching scope
Browse files Browse the repository at this point in the history
  • Loading branch information
omkarkhatavkar committed Mar 8, 2024
1 parent a98258c commit 48dddcc
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions robottelo/host_helpers/satellite_mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,10 +145,8 @@ def upload_manifest(self, org_id, manifest=None, interface='API', timeout=None):
:returns: the manifest upload result
"""
if (
not isinstance(manifest, bytes | io.BytesIO)
and not hasattr(manifest, 'content')
or manifest.content is None
if not isinstance(manifest, bytes | io.BytesIO) and (
not hasattr(manifest, 'content') or manifest.content is None
):
manifest = clone()
if timeout is None:
Expand Down

0 comments on commit 48dddcc

Please sign in to comment.