Permalink
Browse files

Update for inifile 3.

  • Loading branch information...
Flameeyes committed Oct 19, 2014
1 parent 29038fb commit 67318061c9a57465e65a8d04190730ee0a94a1d4
Showing with 2 additions and 2 deletions.
  1. +1 −1 display.rb
  2. +1 −1 readscript.rb
View
@@ -22,7 +22,7 @@
require 'active_support'
require 'active_support/core_ext/object/to_query'
-config = IniFile.new(File.read("./tboxanalysis.ini"))
+config = IniFile.load("./tboxanalysis.ini")
sdb = AWS::SimpleDB.new(:access_key_id => config['aws']['access_key'],
:secret_access_key => config['aws']['secret_key'])
View
@@ -24,7 +24,7 @@
warnings = Regexp.new("(Tinderbox QA Warning!|QA Notice: (Pre-stripped|file does not exist|command not found|USE flag|Files built without respecting|The following files)|linux_config_exists|will always overflow|called with bigger|maintainer mode detected|econf called in src_compile|udev rules should be installed)")
-config = IniFile.new(File.read("./tboxanalysis.ini"))
+config = IniFile.load("./tboxanalysis.ini")
s3 = AWS::S3.new(:access_key_id => config['aws']['access_key'],
:secret_access_key => config['aws']['secret_key'])

0 comments on commit 6731806

Please sign in to comment.