Skip to content

Commit

Permalink
fixed sanity suite, AttributeError due to not matching scope (#14309)
Browse files Browse the repository at this point in the history
(cherry picked from commit 063ac02)
  • Loading branch information
omkarkhatavkar authored and ogajduse committed Mar 11, 2024
1 parent aedf430 commit b3ff285
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 b3ff285

Please sign in to comment.