Undefined name: import sys for line 56
`sys` is neither defined nor imported which leads to an _undefined name_ which has the potential to raise NameError at runtime.
This commit is contained in:
parent
e39f23b59a
commit
2ffed0891b
@ -19,6 +19,7 @@ from __future__ import print_function
|
||||
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
import lit.formats
|
||||
from lit.llvm import llvm_config
|
||||
from lit.llvm.subst import ToolSubst
|
||||
|
Loading…
Reference in New Issue
Block a user