From f1263f34f5b0ce7800e6cc9fdc8c3e572e1966f9 Mon Sep 17 00:00:00 2001 From: Rick Chao Date: Thu, 29 Nov 2018 10:51:56 -0800 Subject: [PATCH] Update the error message for missing output files in create_python_api.py. PiperOrigin-RevId: 223373079 --- tensorflow/python/tools/api/generator/create_python_api.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tensorflow/python/tools/api/generator/create_python_api.py b/tensorflow/python/tools/api/generator/create_python_api.py index be988c572cb..51c2bfba7c1 100644 --- a/tensorflow/python/tools/api/generator/create_python_api.py +++ b/tensorflow/python/tools/api/generator/create_python_api.py @@ -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():