Skip to content

Commit

Permalink
Pass transaction down in get_release_names (#1742)
Browse files Browse the repository at this point in the history
* Pass transaction down in get_release_names

* Version bump
  • Loading branch information
bhearsum authored Jan 20, 2021
1 parent 665d89d commit 698a752
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/auslib/services/releases.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.01
3.02

0 comments on commit 698a752

Please sign in to comment.