From 698a7522184c260a5cbcdc88769d41a2c71af48a Mon Sep 17 00:00:00 2001 From: Ben Hearsum Date: Wed, 20 Jan 2021 11:03:47 -0500 Subject: [PATCH] Pass transaction down in get_release_names (#1742) * Pass transaction down in get_release_names * Version bump --- src/auslib/services/releases.py | 2 +- version.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/auslib/services/releases.py b/src/auslib/services/releases.py index 3119bd5ba3..cbd0529e7d 100644 --- a/src/auslib/services/releases.py +++ b/src/auslib/services/releases.py @@ -249,7 +249,7 @@ def get_release_names(trans, product=None): if product: where["product"] = product - return sorted([r["name"] for r in dbo.releases_json.select(columns=[dbo.releases_json.name], where=where)]) + return sorted([r["name"] for r in dbo.releases_json.select(columns=[dbo.releases_json.name], where=where, transaction=trans)]) def get_releases(trans): diff --git a/version.txt b/version.txt index 2c36cfac76..b2ad65e524 100644 --- a/version.txt +++ b/version.txt @@ -1 +1 @@ -3.01 +3.02