From 5c35bd01de04e282b1f6bef6df0132ee5feef5a3 Mon Sep 17 00:00:00 2001 From: Deborah Servili Date: Thu, 26 Sep 2019 14:43:25 +0200 Subject: [PATCH] try to please CodeFactor --- tools/UN M49/region_galaxy.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/UN M49/region_galaxy.py b/tools/UN M49/region_galaxy.py index d46c1b9..0b3b71a 100644 --- a/tools/UN M49/region_galaxy.py +++ b/tools/UN M49/region_galaxy.py @@ -35,7 +35,7 @@ if __name__ == '__main__': temp['meta']['subregion'] = [] values.append(temp) - '''---------------- column 2 ------------------''' + """---------------- column 2 ------------------""" with open(args.csv, newline='') as csvfile: csvreader = csv.reader(csvfile, delimiter=',', quotechar='"') @@ -72,7 +72,7 @@ if __name__ == '__main__': if test == 0: value['meta']['subregion'].append(value_name) - '''---------------- column 3 ------------------''' + """---------------- column 3 ------------------""" with open(args.csv, newline='') as csvfile: csvreader = csv.reader(csvfile, delimiter=',', quotechar='"') @@ -110,7 +110,7 @@ if __name__ == '__main__': value['meta']['subregion'].append(value_name) - '''---------------- column 4 ------------------''' + """---------------- column 4 ------------------""" with open(args.csv, newline='') as csvfile: csvreader = csv.reader(csvfile, delimiter=',', quotechar='"') @@ -147,8 +147,8 @@ if __name__ == '__main__': if test == 0: value['meta']['subregion'].append(value_name) - '''---------------- column 5 ------------------''' - + """---------------- column 5 ------------------""" + with open(args.csv, newline='') as csvfile: csvreader = csv.reader(csvfile, delimiter=',', quotechar='"') pass_first_line = True