mirror of
https://github.com/MISP/misp-galaxy.git
synced 2024-11-26 08:47:18 +00:00
try to please CodeFactor
This commit is contained in:
parent
1ea212612a
commit
5c35bd01de
1 changed files with 5 additions and 5 deletions
|
@ -35,7 +35,7 @@ if __name__ == '__main__':
|
||||||
temp['meta']['subregion'] = []
|
temp['meta']['subregion'] = []
|
||||||
values.append(temp)
|
values.append(temp)
|
||||||
|
|
||||||
'''---------------- column 2 ------------------'''
|
"""---------------- column 2 ------------------"""
|
||||||
|
|
||||||
with open(args.csv, newline='') as csvfile:
|
with open(args.csv, newline='') as csvfile:
|
||||||
csvreader = csv.reader(csvfile, delimiter=',', quotechar='"')
|
csvreader = csv.reader(csvfile, delimiter=',', quotechar='"')
|
||||||
|
@ -72,7 +72,7 @@ if __name__ == '__main__':
|
||||||
if test == 0:
|
if test == 0:
|
||||||
value['meta']['subregion'].append(value_name)
|
value['meta']['subregion'].append(value_name)
|
||||||
|
|
||||||
'''---------------- column 3 ------------------'''
|
"""---------------- column 3 ------------------"""
|
||||||
|
|
||||||
with open(args.csv, newline='') as csvfile:
|
with open(args.csv, newline='') as csvfile:
|
||||||
csvreader = csv.reader(csvfile, delimiter=',', quotechar='"')
|
csvreader = csv.reader(csvfile, delimiter=',', quotechar='"')
|
||||||
|
@ -110,7 +110,7 @@ if __name__ == '__main__':
|
||||||
value['meta']['subregion'].append(value_name)
|
value['meta']['subregion'].append(value_name)
|
||||||
|
|
||||||
|
|
||||||
'''---------------- column 4 ------------------'''
|
"""---------------- column 4 ------------------"""
|
||||||
|
|
||||||
with open(args.csv, newline='') as csvfile:
|
with open(args.csv, newline='') as csvfile:
|
||||||
csvreader = csv.reader(csvfile, delimiter=',', quotechar='"')
|
csvreader = csv.reader(csvfile, delimiter=',', quotechar='"')
|
||||||
|
@ -147,7 +147,7 @@ if __name__ == '__main__':
|
||||||
if test == 0:
|
if test == 0:
|
||||||
value['meta']['subregion'].append(value_name)
|
value['meta']['subregion'].append(value_name)
|
||||||
|
|
||||||
'''---------------- column 5 ------------------'''
|
"""---------------- column 5 ------------------"""
|
||||||
|
|
||||||
with open(args.csv, newline='') as csvfile:
|
with open(args.csv, newline='') as csvfile:
|
||||||
csvreader = csv.reader(csvfile, delimiter=',', quotechar='"')
|
csvreader = csv.reader(csvfile, delimiter=',', quotechar='"')
|
||||||
|
|
Loading…
Reference in a new issue