From 3c4f3a33edfb699e918c981690b6d04683b6d468 Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Thu, 19 Oct 2023 11:07:15 +0100 Subject: [PATCH] Fix typo in query Introduced in commit 3238b212805f35aa17906ee51296a08b491e0e4c . --- lib/tool_shed/webapp/controllers/repository.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tool_shed/webapp/controllers/repository.py b/lib/tool_shed/webapp/controllers/repository.py index 110838cbabae..baee2f6123ba 100644 --- a/lib/tool_shed/webapp/controllers/repository.py +++ b/lib/tool_shed/webapp/controllers/repository.py @@ -2659,7 +2659,7 @@ def validate_changeset_revision(self, trans, changeset_revision, repository_id): def get_first_repository_metadata(session): stmt = select(RepositoryMetadata).limit(1) - return session.select(stmt).first() + return session.scalars(stmt).first() def get_current_repositories(session):