From 88022667ced79e1a287c5021b64cd0a165824684 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 14 Jan 2023 23:54:45 +0000 Subject: [PATCH] Remove incorrect check on package provides --- app/models/packages.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/models/packages.py b/app/models/packages.py index bab340d9..ae78f64e 100644 --- a/app/models/packages.py +++ b/app/models/packages.py @@ -735,10 +735,6 @@ class Package(db.Model): if state == PackageState.APPROVED and ("Other" in self.license.name or "Other" in self.media_license.name): return False - provides = self.provides - if state == PackageState.APPROVED and len(provides) == 1 and provides[0].name != self.name: - return False - if self.getMissingHardDependenciesQuery().count() > 0: return False