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 7BA66D8B9 for ; Tue, 2 Oct 2012 21:30:29 +0000 (UTC) Received: (qmail 64015 invoked by uid 500); 2 Oct 2012 21:30:29 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 63938 invoked by uid 500); 2 Oct 2012 21:30:29 -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 63657 invoked by uid 99); 2 Oct 2012 21:30:29 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 02 Oct 2012 21:30:29 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id EBE7F374A2; Tue, 2 Oct 2012 21:30:28 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: brondsem@apache.org To: allura-commits@incubator.apache.org X-Mailer: ASF-Git Admin Mailer Subject: [29/34] git commit: [#5006] don't send default=None to gravatar URL, since None is not a valid fallback image URL Message-Id: <20121002213028.EBE7F374A2@tyr.zones.apache.org> Date: Tue, 2 Oct 2012 21:30:28 +0000 (UTC) [#5006] don't send default=None to gravatar URL, since None is not a valid fallback image URL Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/b5ecadcd Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/b5ecadcd Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/b5ecadcd Branch: refs/heads/db/4968 Commit: b5ecadcdfc18e35d6d4a187d65e5018f5b569650 Parents: 7bb1cd4 Author: Dave Brondsema Authored: Thu Sep 27 21:05:47 2012 +0000 Committer: Dave Brondsema Committed: Thu Sep 27 21:05:47 2012 +0000 ---------------------------------------------------------------------- Allura/allura/model/auth.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/b5ecadcd/Allura/allura/model/auth.py ---------------------------------------------------------------------- diff --git a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py index af8975f..737877c 100644 --- a/Allura/allura/model/auth.py +++ b/Allura/allura/model/auth.py @@ -314,7 +314,7 @@ class User(MappedClass, ActivityNode, ActivityObject): if self.private_project() and self.private_project().icon: icon_url = self.url()+'user_icon' elif self.preferences.email_address: - icon_url = g.gravatar(self.preferences.email_address, default=None) + icon_url = g.gravatar(self.preferences.email_address) return icon_url @classmethod