소스 검색

fix header and indentation for one_point_per_col_output; see https://trac.osgeo.org/grass/ticket/3546

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@72635 15284696-431f-4ddb-bdfa-cd5b030d7da7
Stefan Blumentrath 7 년 전
부모
커밋
fe1186e78d
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      temporal/t.rast.what/t.rast.what.py

+ 2 - 2
temporal/t.rast.what/t.rast.what.py

@@ -402,7 +402,7 @@ def one_point_per_col_output(separator, output_files, output_time_list,
                         cat = row[0]
                         x = row[1]
                         y = row[2]
-                        out_str += "{sep}{cat}{sep}{x:10.10f};" \
+                        out_str += "{sep}{cat}{sep}{x:10.10f}{sep}" \
                                   "{y:10.10f}".format(cat=cat, x=float(x),
                                                            y=float(y),
                                                            sep=separator)
@@ -421,7 +421,7 @@ def one_point_per_col_output(separator, output_files, output_time_list,
                             out_str += "{sep}{site}".format(sep=separator,
                                                             site=site)
 
-            out_file.write(out_str + "\n")
+                        out_file.write(out_str + "\n")
 
         first = False