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/09/20 20:05:44 UTC
[whimsy] branch master updated: fix bug on creating new projects
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 730791b fix bug on creating new projects
730791b is described below
commit 730791bb27c06fee278cd3950aff65f9bfa7670b
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Wed Sep 20 16:05:09 2017 -0400
fix bug on creating new projects
Also, detab
---
www/board/agenda/views/actions/todos.json.rb | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/www/board/agenda/views/actions/todos.json.rb b/www/board/agenda/views/actions/todos.json.rb
index 95fec4c..ded1848 100644
--- a/www/board/agenda/views/actions/todos.json.rb
+++ b/www/board/agenda/views/actions/todos.json.rb
@@ -134,14 +134,14 @@ if @establish and env.password
end
# new style definitions
- project = ASF::Project.find(pmc.downcase)
+ project = ASF::Project[pmc.downcase]
if not project
project.create(members, members)
elsif not guineapig
# sync project owners with new PMC list
- project.add_owners(members)
- project.remove_owners(project.owners - members)
- project.add_members(members)
+ project.add_owners(members)
+ project.remove_owners(project.owners - members)
+ project.add_members(members)
end
end
end
--
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].