Skip to content

Commit

Permalink
Correct logic error in sat version evaluation
Browse files Browse the repository at this point in the history
  • Loading branch information
synkd committed Nov 21, 2023
1 parent 3202681 commit 1149cb7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions manifester/manifester.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,11 +78,10 @@ def valid_sat_versions(self):
],
cmd_kwargs=headers,
).json()
if self.is_mock is False:
for ver_dict in sat_versions_response["body"]:
valid_sat_versions.append(ver_dict["value"])
else:
valid_sat_versions = sat_versions_response["valid_sat_versions"]
if self.is_mock:
valid_sat_versions = sat_versions_response.valid_sat_versions
for ver_dict in sat_versions_response["body"]:
valid_sat_versions.append(ver_dict["value"])
return valid_sat_versions

def create_subscription_allocation(self):
Expand Down

0 comments on commit 1149cb7

Please sign in to comment.