From 771a213b7f96137979d0f7ee9db03ef7b543ebe1 Mon Sep 17 00:00:00 2001 From: Jaime Melis Date: Tue, 9 Dec 2014 10:59:40 +0100 Subject: [PATCH] Feature #3175: Remove debugging info --- .../remotes/security_groups/SecurityGroups.rb | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/src/vnm_mad/remotes/security_groups/SecurityGroups.rb b/src/vnm_mad/remotes/security_groups/SecurityGroups.rb index ec0e7444a3..19b71f55d0 100644 --- a/src/vnm_mad/remotes/security_groups/SecurityGroups.rb +++ b/src/vnm_mad/remotes/security_groups/SecurityGroups.rb @@ -14,10 +14,6 @@ # limitations under the License. # #--------------------------------------------------------------------------- # -# TODO: remove -require 'rubygems' -require 'pp' - ################################################################################ # IP and NETMASK Library ################################################################################ @@ -205,9 +201,6 @@ end # SecurityGroups and Rules ################################################################################ -# TODO: remove -require 'colorator' - class CommandsError < StandardError; end class Commands @@ -236,13 +229,7 @@ class Commands @commands.each{|c| - # TODO: remove - puts "=> #{c}".green - - c_out = `#{c}` - puts c_out if !c_out.empty? - - out << c_out + out << `#{c}` if !$?.success? clear!