Skip to content

Commit

Permalink
- Return only relevant depots in case the patch is not documented wit…
Browse files Browse the repository at this point in the history
…h changed depots
  • Loading branch information
DJSchaffner committed Nov 10, 2020
1 parent 723024e commit adf67fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -422,8 +422,8 @@ def _get_changed_depot_list(self, selected_version, relevant_depots):
# Is version documented? If not, just assume all deptos changed
if next((p for p in self.patch_change_list if p['version'] == selected_version), None) is None:
print("No optimized depot list available")
return self.depot_list

return relevant_depots
# Version is documented, accumulate all changed depots
for patch in self.patch_change_list:
if selected_version > self.installed_version:
Expand Down

0 comments on commit adf67fe

Please sign in to comment.