diff options
author | Michael Case <mikecase@google.com> | 2018-09-04 22:42:03 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-04 22:48:19 -0700 |
commit | 606ece2a394943e92890b82e53337cb91a749513 (patch) | |
tree | 3af15c838eaf9576c10007663df70bde69f6b132 /tensorflow/python/tools | |
parent | c7c05f737be079d0fbf4990f2f374d4d2cde7509 (diff) |
Automated rollback of commit 8cf8afefdb4c240f74a05e24246c8cd2dcce9d54
PiperOrigin-RevId: 211581486
Diffstat (limited to 'tensorflow/python/tools')
-rw-r--r-- | tensorflow/python/tools/component_api_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/tools/component_api_helper.py b/tensorflow/python/tools/component_api_helper.py index e261758add..988ecc61f0 100644 --- a/tensorflow/python/tools/component_api_helper.py +++ b/tensorflow/python/tools/component_api_helper.py @@ -67,7 +67,7 @@ def package_hook(parent_package_str, child_package_str, error_msg=None): """ child_pkg_path = [os.path.join(os.path.dirname(child_pkg.__file__), "..")] try: - parent_pkg.__path__ = child_pkg_path + parent_pkg.__path__ + parent_pkg.__path__ += child_pkg_path except AttributeError: parent_pkg.__path__ = child_pkg_path |