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 78A4210FE4 for ; Mon, 26 Aug 2013 19:11:13 +0000 (UTC) Received: (qmail 27500 invoked by uid 500); 26 Aug 2013 19:11:13 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 27440 invoked by uid 500); 26 Aug 2013 19:11:13 -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 27411 invoked by uid 99); 26 Aug 2013 19:11:12 -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 19:11:12 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A5E558C5B02; Mon, 26 Aug 2013 19:11:12 +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 19:11:12 -0000 Message-Id: <4959af6ac01843b7876db5205755bb98@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [1/7] git commit: [#6531] Fixed anonymous comments in trac ticket export Updated Branches: refs/heads/master 1843655af -> 8c6605d3f [#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/0688afc8 Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/0688afc8 Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/0688afc8 Branch: refs/heads/master Commit: 0688afc859914835de42bdd3118c5b5e828e9c56 Parents: ff5af16 Author: Cory Johns Authored: Mon Aug 26 17:05:30 2013 +0000 Committer: Cory Johns Committed: Mon Aug 26 17:19:57 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/0688afc8/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'