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:
Christian Clauss 2020-06-07 12:57:05 +02:00 committed by GitHub
parent e39f23b59a
commit 2ffed0891b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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