Skip to content

Commit

Permalink
Do not reify releases list in pyramid request
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Verga <[email protected]>
(cherry picked from commit 49222c7)
  • Loading branch information
mattiaverga authored and mergify[bot] committed Jun 22, 2024
1 parent 20f2b8b commit 5ca83b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion bodhi-server/bodhi/server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def main(global_config, testing=None, session=None, **settings):
config.add_request_method(get_cacheregion, 'cache', reify=True)
config.add_request_method(get_buildinfo, 'buildinfo', reify=True)
config.add_request_method(get_from_tag_inherited, 'from_tag_inherited', reify=True)
config.add_request_method(get_releases, 'releases', reify=True)
config.add_request_method(get_releases, 'releases', property=True)

# Templating
config.add_mako_renderer('.html', settings_prefix='mako.')
Expand Down
1 change: 1 addition & 0 deletions news/PR5684.bug
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixed the release list web page which was not updated after a release changed state

0 comments on commit 5ca83b1

Please sign in to comment.