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 51D0210A37 for ; Mon, 26 Aug 2013 17:07:07 +0000 (UTC) Received: (qmail 78813 invoked by uid 500); 26 Aug 2013 17:07:07 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 78797 invoked by uid 500); 26 Aug 2013 17:07:07 -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 78779 invoked by uid 99); 26 Aug 2013 17:07:07 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Aug 2013 17:07:07 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id E17F48C58B6; Mon, 26 Aug 2013 17:07:06 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: johnsca@apache.org To: allura-commits@incubator.apache.org Date: Mon, 26 Aug 2013 17:07:07 -0000 Message-Id: In-Reply-To: <459a8604495a4ab091d4c40c11cf16cb@git.apache.org> References: <459a8604495a4ab091d4c40c11cf16cb@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [2/2] git commit: [#6531] Fixed anonymous comments in trac ticket export [#6531] Fixed anonymous comments in trac ticket export Signed-off-by: Cory Johns Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/6380301e Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/6380301e Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/6380301e Branch: refs/heads/tv/6531 Commit: 6380301e57bb6b7e21561d0581186f17a2290955 Parents: 8f60f0d Author: Cory Johns Authored: Mon Aug 26 17:05:30 2013 +0000 Committer: Cory Johns Committed: Mon Aug 26 17:05:30 2013 +0000 ---------------------------------------------------------------------- Allura/allura/scripts/trac_export.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/6380301e/Allura/allura/scripts/trac_export.py ---------------------------------------------------------------------- diff --git a/Allura/allura/scripts/trac_export.py b/Allura/allura/scripts/trac_export.py index 4d908bc..43462df 100644 --- a/Allura/allura/scripts/trac_export.py +++ b/Allura/allura/scripts/trac_export.py @@ -155,7 +155,7 @@ class TracExport(object): res = [] for comment in d['entries']: c = {} - c['submitter'] = comment.author + c['submitter'] = getattr(comment, 'author', None) c['date'] = comment.updated_parsed c['comment'] = html2text(comment.summary) c['class'] = 'COMMENT'