Fix the flake8 warning in generate_nuspec_for_native_nuget.py (#4089)

This commit is contained in:
Changming Sun 2020-06-01 10:32:22 -07:00 committed by GitHub
parent a715d55bcc
commit ff16ca54e1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -167,6 +167,7 @@ def generate_files(list, args):
'" target="build\\native\\include" />')
if includes_winml:
mlop_path = 'onnxruntime\\core\\providers\\dml\\dmlexecutionprovider\\inc\\mloperatorauthor.h'
# Add microsoft.ai.machinelearning headers
files_list.append('<file src=' + '"' + os.path.join(args.ort_build_path, args.build_config,
'microsoft.ai.machinelearning.h') +
@ -183,8 +184,7 @@ def generate_files(list, args):
'" target="lib\\uap10.0\\Microsoft.AI.MachineLearning.winmd" />')
# Add custom operator headers
files_list.append('<file src=' + '"' +
os.path.join(args.sources_path,
'onnxruntime\\core\\providers\\dml\\dmlexecutionprovider\\inc\\mloperatorauthor.h') +
os.path.join(args.sources_path, mlop_path) +
'" target="build\\native\\include" />')
# Process runtimes