Skip to content

Commit

Permalink
Merge pull request #17 from synkd/process_sat_versions_in_form_x.y.z.1
Browse files Browse the repository at this point in the history
Fix inability to process long sat_versions
  • Loading branch information
synkd authored Nov 18, 2022
2 parents 3b14c56 + f395ddc commit 0eb009a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifester/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def process_sat_version(sat_version, valid_sat_versions):
# a Z-stream version that should be removed.
if len(sat_version) > 8:
sat_version = sat_version.split('.')
sat_version = sat_version[:-1]
sat_version = sat_version[0:2]
sat_version = ".".join(sat_version)
# The conditional below assumes that an invalid sat_version with the Z-stream version removed
# is a Y-stream version in development. New Y-stream versions are not available as valid
Expand Down

0 comments on commit 0eb009a

Please sign in to comment.