allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetm...@apache.org
Subject [11/17] allura git commit: [#7704] ticket:662 Check for pending status in User.private_project
Date Wed, 12 Nov 2014 12:15:14 GMT
[#7704] ticket:662 Check for pending status in User.private_project


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/16d7f361
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/16d7f361
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/16d7f361

Branch: refs/heads/ib/7704
Commit: 16d7f3616360e36a289423a8092f13a220277ba9
Parents: 80f0f2c
Author: Aleksey 'LXj' Alekseyev <gotletter@gmail.com>
Authored: Fri Oct 10 00:54:43 2014 +0300
Committer: Igor Bondarenko <jetmind2@gmail.com>
Committed: Wed Nov 12 10:27:05 2014 +0000

----------------------------------------------------------------------
 Allura/allura/model/auth.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/16d7f361/Allura/allura/model/auth.py
----------------------------------------------------------------------
diff --git a/Allura/allura/model/auth.py b/Allura/allura/model/auth.py
index 96a9795..ea07999 100644
--- a/Allura/allura/model/auth.py
+++ b/Allura/allura/model/auth.py
@@ -669,7 +669,7 @@ class User(MappedClass, ActivityNode, ActivityObject, SearchIndexable):
         '''
         Returns the personal user-project for the user
         '''
-        if self.disabled:
+        if self.disabled or self.pending:
             return None
 
         from allura import model as M


Mime
View raw message