remove redundant finalize
authorgmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 26 Jan 2011 19:05:52 +0000 (19:05 +0000)
committergmc <gmc@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 26 Jan 2011 19:05:52 +0000 (19:05 +0000)
Already handled by OpenILS::Mapper, and has the effect
of making a parsing bug in edi4r worse by causing
question marks in the EDI data to be escaped multiple
times.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19309 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/edi_translator/edi_webrick.rb

index 435b31b..4907dd0 100755 (executable)
@@ -101,7 +101,7 @@ servlet.add_handler("edi2json"  ) { |a_string|
 servlet.add_handler("json2edi"  ) { |a_string|
   File.open('/tmp/ruby_json2edi.tmp', 'w') {|f| f.write(a_string) }      # debugging, so we can compare what we rec'd w/ the orig. file
   @map = OpenILS::Mapper.from_json(a_string)
-  @map.finalize.to_s
+  @map.to_s
 }
 servlet.add_introspection