From eb635c33a859d6f89f85dd01063ae0a03f97046e Mon Sep 17 00:00:00 2001 From: Dave Cassel Date: Fri, 25 Apr 2014 11:46:22 -0400 Subject: [PATCH] Accidentally commited to master when it should have gone to dev Revert "Merge pull request #219 from rlouapre/issue-164" This reverts commit 6d5b260d5516cad5c5796a54c854c4910d888750, reversing changes made to a07477636dac44a939be36884f6c8697af084c2e. --- deploy/lib/MLClient.rb | 2 +- deploy/lib/util.rb | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/deploy/lib/MLClient.rb b/deploy/lib/MLClient.rb index daabb6f3..0136afd0 100644 --- a/deploy/lib/MLClient.rb +++ b/deploy/lib/MLClient.rb @@ -23,7 +23,7 @@ class MLClient def initialize(options) @ml_username = options[:user_name] - @ml_password = options[:password].xquery_unsafe + @ml_password = options[:password] @logger = options[:logger] || logger @request = {} end diff --git a/deploy/lib/util.rb b/deploy/lib/util.rb index 86220710..d0c9d20a 100644 --- a/deploy/lib/util.rb +++ b/deploy/lib/util.rb @@ -63,10 +63,6 @@ def strip_heredoc def xquery_safe REXML::Text::normalize(self).gsub(/\{/, '{{').gsub(/\}/, '}}') end - - def xquery_unsafe - REXML::Text::unnormalize(self).gsub(/\{{/, '{').gsub(/\}}/, '}') - end end class Object