Fix flake8 error from hacking <3.0.1

Change-Id: I7cd28bb078550f51f420df3f96b38e6ab403b2ce
This commit is contained in:
zhangbailin 2020-05-13 10:39:13 +08:00 committed by Brin Zhang
parent f3b6cbc695
commit 4561a16294

View File

@ -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):