[Groonga-commit] groonga/groonga [master] test: rename variable name to proper one

Back to archive index

null+****@clear***** null+****@clear*****
2012年 5月 16日 (水) 11:37:21 JST


HAYASHI Kentaro	2012-05-16 11:37:21 +0900 (Wed, 16 May 2012)

  New Revision: 4a3fe1643255556cf8e823a841855a6174fb01c7

  Log:
    test: rename variable name to proper one
    
    fh->
    csvfile

  Modified files:
    test/function/tools/geo/generate-grntest-data.rb

  Modified: test/function/tools/geo/generate-grntest-data.rb (+2 -2)
===================================================================
--- test/function/tools/geo/generate-grntest-data.rb    2012-05-16 11:34:41 +0900 (eb1bd13)
+++ test/function/tools/geo/generate-grntest-data.rb    2012-05-16 11:37:21 +0900 (7bb1fe7)
@@ -226,8 +226,8 @@ if __FILE__ == $0
 
   exit if not OPTS.has_key? :csv
 
-  File.open(OPTS[:csv], "r") {|fh|
-    lines = fh.readlines
+  File.open(OPTS[:csv], "r") {|csvfile|
+    lines = csvfile.readlines
 
     SELECT = "select Geo --output_columns distance "
 




Groonga-commit メーリングリストの案内
Back to archive index