Skip to content

Conversation

@lord-haffi
Copy link
Collaborator

The script evaluated 202401.10.10 > 202501.1.1 before. This PR fixes the issue for now. Note, that this will be replaced by the BO4E-CLI in the future. The fix is more or less copied from there.

@lord-haffi lord-haffi self-assigned this Mar 21, 2025
@lord-haffi lord-haffi enabled auto-merge (squash) March 21, 2025 10:05
return getattr(self, attr) < getattr(other, attr)
if self.candidate != other.candidate:
return self.candidate is not None and (other.candidate is None or self.candidate < other.candidate)
return False # self == other
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

wofür ist der Kommentar?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Um zu verdeutlichen, dass wir an der Stelle des Codes wissen, dass die Versionen gleich sind und dementsprechend __lt__ ein False zurückgeben muss. Ist der Kommentar nicht sprechend? ^^

@lord-haffi lord-haffi merged commit 694646d into main Mar 21, 2025
32 checks passed
@lord-haffi lord-haffi deleted the fix_version_checker branch March 21, 2025 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants