summaryrefslogtreecommitdiff
path: root/sample/wsdl/amazon/wsdlDriver.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/wsdl/amazon/wsdlDriver.rb')
-rw-r--r--sample/wsdl/amazon/wsdlDriver.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/wsdl/amazon/wsdlDriver.rb b/sample/wsdl/amazon/wsdlDriver.rb
index 00ef6135a4..6b2dce376b 100644
--- a/sample/wsdl/amazon/wsdlDriver.rb
+++ b/sample/wsdl/amazon/wsdlDriver.rb
@@ -30,7 +30,7 @@ end
=end
# You must get 'developer's token" from http://associates.amazon.com/exec/panama/associates/ntg/browse/-/1067662 to use Amazon Web Services 2.0.
-#devtag = File.open(File.expand_path("~/.amazon_key")).read.chomp
+#devtag = File.open(File.expand_path("~/.amazon_key")) { |f| f.read }.chomp
devtag = nil
# v2: AMAZON_WSDL = 'http://soap.amazon.com/schemas2/AmazonWebServices.wsdl'