summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/owner_command.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rubygems/commands/owner_command.rb')
-rw-r--r--lib/rubygems/commands/owner_command.rb12
1 files changed, 5 insertions, 7 deletions
diff --git a/lib/rubygems/commands/owner_command.rb b/lib/rubygems/commands/owner_command.rb
index 4751928682..cd60157911 100644
--- a/lib/rubygems/commands/owner_command.rb
+++ b/lib/rubygems/commands/owner_command.rb
@@ -93,14 +93,12 @@ permission to.
def manage_owners(method, name, owners)
owners.each do |owner|
- begin
- response = send_owner_request(method, name, owner)
- action = method == :delete ? "Removing" : "Adding"
+ response = send_owner_request(method, name, owner)
+ action = method == :delete ? "Removing" : "Adding"
- with_response response, "#{action} #{owner}"
- rescue StandardError
- # ignore
- end
+ with_response response, "#{action} #{owner}"
+ rescue StandardError
+ # ignore
end
end