
This is the first commit in a series that will reformat all the python files in the LLVM repository. Reformatting is done with `black`. See more information here: https://discourse.llvm.org/t/rfc-document-and-standardize-python-code-style Reviewed By: jhenderson, JDevlieghere, MatzeB Differential Revision: https://reviews.llvm.org/D150545
12 lines
208 B
Python
12 lines
208 B
Python
import os
|
|
import sys
|
|
|
|
|
|
def execute(fileName):
|
|
sys.stderr.write(
|
|
"error: external '{}' command called unexpectedly\n".format(
|
|
os.path.basename(fileName)
|
|
)
|
|
)
|
|
sys.exit(1)
|