Fix flake8 error from hacking <3.0.1
Change-Id: I7cd28bb078550f51f420df3f96b38e6ab403b2ce
This commit is contained in:
parent
f3b6cbc695
commit
4561a16294
@ -202,7 +202,7 @@ def gen_fpga_content(path, dev):
|
||||
f.write(v + "\n")
|
||||
elif type(v) is list:
|
||||
with open(p, 'a') as f:
|
||||
f.writelines([l + "\n" for l in v])
|
||||
f.writelines([item + "\n" for item in v])
|
||||
|
||||
|
||||
def gen_fpga_sub_dir(path):
|
||||
|
Loading…
Reference in New Issue
Block a user