26/01/2022 06:10, Jie Zhou:
> + try:
> + with open("/proc/sys/vm/nr_hugepages") as file_o:
> + content = file_o.read()
> + print(content)
> + except:
> + print("0")
flake8 says this line is over-indented, I will fix.
There is another warning that I won't fix:
app/test/has_hugepage.py:14:5: E722 do not use bare 'except'