remove Python2 code

This commit is contained in:
mosfet80
2023-03-04 19:36:18 +01:00
committed by Chris Hennes
parent d03f287cf4
commit 3137dea940
79 changed files with 28 additions and 200 deletions

View File

@@ -615,13 +615,6 @@ class PackageListFilter(QtCore.QSortFilterProxyModel):
if data.status() != Addon.Status.UPDATE_AVAILABLE:
return False
# If it's not installed, check to see if it's Py2 only
if (
data.status() == Addon.Status.NOT_INSTALLED
and self.hide_py2
and data.python2
):
return False
# If it's not installed, check to see if it's marked obsolete
if (