Update the error message for missing output files in create_python_api.py.

PiperOrigin-RevId: 223373079
This commit is contained in:
Rick Chao 2018-11-29 10:51:56 -08:00 committed by TensorFlower Gardener
parent 2b559a9a08
commit f1263f34f5

View File

@ -463,8 +463,9 @@ def create_api_files(output_files, packages, root_init_template, output_dir,
raise ValueError(
"""Missing outputs for genrule:\n%s. Be sure to add these targets to
tensorflow/python/tools/api/generator/api_init_files_v1.bzl and
tensorflow/python/tools/api/generator/api_init_files.bzl""" % ',\n'.join(
sorted(missing_output_files)))
tensorflow/python/tools/api/generator/api_init_files.bzl (tensorflow repo), or
tensorflow_estimator/python/estimator/api/api_gen.bzl (estimator repo)"""
% ',\n'.join(sorted(missing_output_files)))
def main():