You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/08/07 21:26:48 UTC
[whimsy] branch master updated: actually look up the project in
question
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git
The following commit(s) were added to refs/heads/master by this push:
new 02f6ace actually look up the project in question
02f6ace is described below
commit 02f6ace1a1d0736cd21024c99095fe1ede714ebf
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Aug 7 17:26:17 2017 -0400
actually look up the project in question
---
lib/whimsy/asf/ldap.rb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lib/whimsy/asf/ldap.rb b/lib/whimsy/asf/ldap.rb
index 22cde10..a146d1e 100644
--- a/lib/whimsy/asf/ldap.rb
+++ b/lib/whimsy/asf/ldap.rb
@@ -1097,7 +1097,7 @@ module ASF
if GUINEAPIGS.include? name
ASF::Project.find(name).remove_owners(people)
else
- project = ASF::Project['name']
+ project = ASF::Project[name]
project.remove_owners(people) if project
remove(people)
end
@@ -1108,7 +1108,7 @@ module ASF
if GUINEAPIGS.include? name
ASF::Project.find(name).remove_members(people)
else
- project = ASF::Project['name']
+ project = ASF::Project[name]
project.remove_members(people) if project
ASF::Group.find(name).remove(people)
end
@@ -1119,7 +1119,7 @@ module ASF
if GUINEAPIGS.include? name
ASF::Project.find(name).add_owners(people)
else
- project = ASF::Project['name']
+ project = ASF::Project[name]
project.add_owners(people) if project
add(people)
end
@@ -1131,7 +1131,7 @@ module ASF
if GUINEAPIGS.include? name
ASF::Project.find(name).add_members(people)
else
- project = ASF::Project['name']
+ project = ASF::Project[name]
project.add_members(people) if project
ASF::Group.find(name).add(people)
end
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].