Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Commit

Permalink
Accidentally commited to master when it should have gone to dev
Browse files Browse the repository at this point in the history
Revert "Merge pull request #219 from rlouapre/issue-164"

This reverts commit 6d5b260, reversing
changes made to a074776.
  • Loading branch information
dmcassel committed Apr 25, 2014
1 parent 6d5b260 commit eb635c3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion deploy/lib/MLClient.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions deploy/lib/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb635c3

Please sign in to comment.