refine lint error in shuffle_list.py
This commit is contained in:
parent
8edff97097
commit
d015a7e3cf
@ -42,7 +42,9 @@ else:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
fout.writelines(lines)
|
fout.writelines(lines)
|
||||||
except:
|
except Exception:
|
||||||
pass
|
pass
|
||||||
if args.input is not None: fin.close()
|
if args.input is not None:
|
||||||
if args.output is not None: fout.close()
|
fin.close()
|
||||||
|
if args.output is not None:
|
||||||
|
fout.close()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user