mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 06:22:24 +01:00
Fix reimport not unapproving releases
This commit is contained in:
parent
f6ff5cba82
commit
1c4fe1b80c
@ -125,6 +125,7 @@ def tags():
|
||||
|
||||
|
||||
@bp.route("/todo/metapackages/")
|
||||
@login_required
|
||||
def metapackages():
|
||||
mpackages = MetaPackage.query \
|
||||
.filter(~ MetaPackage.packages.any(approved=True, soft_deleted=False)) \
|
||||
|
@ -206,7 +206,7 @@ def postReleaseCheckUpdate(self, release, path):
|
||||
# Raise error on unresolved game dependencies
|
||||
if package.type == PackageType.GAME and len(depends) > 0:
|
||||
deps = ", ".join(depends)
|
||||
raise TaskError("Game has unresolved hard dependencies: " + deps)
|
||||
raise MinetestCheckError("Game has unresolved hard dependencies: " + deps)
|
||||
|
||||
# Add dependencies
|
||||
for meta in getMetaPackages(depends):
|
||||
|
Loading…
Reference in New Issue
Block a user