Return-Path: X-Original-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 77EAD102D0 for ; Thu, 8 Aug 2013 13:34:34 +0000 (UTC) Received: (qmail 34380 invoked by uid 500); 8 Aug 2013 13:34:28 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 33993 invoked by uid 500); 8 Aug 2013 13:34:26 -0000 Mailing-List: contact allura-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-commits@incubator.apache.org Received: (qmail 33259 invoked by uid 99); 8 Aug 2013 13:34:22 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Aug 2013 13:34:22 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 4BA32835D7E; Thu, 8 Aug 2013 13:34:21 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tvansteenburgh@apache.org To: allura-commits@incubator.apache.org Date: Thu, 08 Aug 2013 13:34:39 -0000 Message-Id: <72d4821058f74bd7b7e3b8fbad9bbf1a@git.apache.org> In-Reply-To: <1c3b53e71fec4d8798ef817f2c8f22f8@git.apache.org> References: <1c3b53e71fec4d8798ef817f2c8f22f8@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [20/50] git commit: [#6446] ticket:400 do not show not ok posts for other apis [#6446] ticket:400 do not show not ok posts for other apis Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/0877d5c3 Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/0877d5c3 Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/0877d5c3 Branch: refs/heads/tv/6458 Commit: 0877d5c3e1dd3140229f36e7100b1d346b08ffea Parents: a7e25cc Author: Anton Kasyanov Authored: Wed Jul 24 11:47:10 2013 +0300 Committer: Tim Van Steenburgh Committed: Wed Jul 31 14:55:49 2013 +0000 ---------------------------------------------------------------------- Allura/allura/model/discuss.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/0877d5c3/Allura/allura/model/discuss.py ---------------------------------------------------------------------- diff --git a/Allura/allura/model/discuss.py b/Allura/allura/model/discuss.py index 97d19d0..ee62778 100644 --- a/Allura/allura/model/discuss.py +++ b/Allura/allura/model/discuss.py @@ -169,7 +169,7 @@ class Thread(Artifact, ActivityObject): subject=p.subject, attachments=[dict(bytes=attach.length, url=h.absurl(attach.url())) for attach in p.attachments]) - for p in self.posts]) + for p in self.posts if p.status == 'ok']) @property def activity_name(self):