# HG changeset patch # User Daniel Dourvaris # Date 2016-11-25 06:18:36 # Node ID d20e7e2132550d453ffe5b508abec9f1b498cc2d # Parent ac063abc756e0d94143e9cb123f64c66eb6309f6 diffs: fix bug where relevant pull request comments were not being shown on single changeset page, fixes #4311 diff --git a/rhodecode/controllers/changeset.py b/rhodecode/controllers/changeset.py --- a/rhodecode/controllers/changeset.py +++ b/rhodecode/controllers/changeset.py @@ -217,8 +217,7 @@ class ChangesetController(BaseRepoContro c.rhodecode_db_repo.repo_id, commit.raw_id, with_revisions=True) prs = set(st.pull_request for st in statuses - if st is st.pull_request is not None) - + if st.pull_request is not None) # from associated statuses, check the pull requests, and # show comments from them for pr in prs: