You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2012/09/21 22:18:33 UTC

[4/16] git commit: [#4445] Fixed missed change in previous commit

[#4445] Fixed missed change in previous commit

Signed-off-by: Cory Johns <jo...@geek.net>


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

Branch: refs/heads/master
Commit: 393e36a8f7b3d0a5e2b2caceae3c7cd885d85e7d
Parents: f9b1968
Author: Cory Johns <jo...@geek.net>
Authored: Fri Sep 21 17:53:24 2012 +0000
Committer: Dave Brondsema <db...@geek.net>
Committed: Fri Sep 21 18:36:16 2012 +0000

----------------------------------------------------------------------
 Allura/allura/lib/plugin.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/393e36a8/Allura/allura/lib/plugin.py
----------------------------------------------------------------------
diff --git a/Allura/allura/lib/plugin.py b/Allura/allura/lib/plugin.py
index bf68722..dc9541c 100644
--- a/Allura/allura/lib/plugin.py
+++ b/Allura/allura/lib/plugin.py
@@ -457,7 +457,7 @@ class ProjectRegistrationProvider(object):
                                 for perm in permissions]
                     for username in usernames:
                         guser = M.User.by_username(username)
-                        if not (guser and user._id): continue
+                        if not (guser and guser._id): continue
                         pr = guser.project_role(project=p)
                         if group._id not in pr.roles:
                             pr.roles.append(group._id)