incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [29/34] git commit: [#5006] don't send default=None to gravatar URL, since None is not a valid fallback image URL
Date Tue, 02 Oct 2012 21:30:28 GMT
[#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 <dbrondsema@geek.net>
Authored: Thu Sep 27 21:05:47 2012 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
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


Mime
View raw message