Close existing Django issue if current is equal to it

This commit is contained in:
Bruno Alla 2023-07-10 18:34:32 +01:00
parent ef462ba8e0
commit 8076e8cee8
No known key found for this signature in database

View File

@ -182,7 +182,7 @@ class GitHubManager:
if not matches: if not matches:
continue continue
issue_version = DjVersion.parse(matches.group(1)) issue_version = DjVersion.parse(matches.group(1))
if self.base_dj_version > issue_version: if self.base_dj_version >= issue_version:
self.close_issue(issue) self.close_issue(issue)
else: else:
self.existing_issues[issue_version] = issue self.existing_issues[issue_version] = issue