aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/tools/pip_package/pip_smoke_test.py
diff options
context:
space:
mode:
authorGravatar Martin Wicke <wicke@google.com>2017-08-17 12:22:50 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-08-17 12:26:25 -0700
commit27ad708b90cdb62e6aeb7c1378a23ff8cc9c1790 (patch)
treeab0020ccb5e1a74c6f02527948a4b88f5706d777 /tensorflow/tools/pip_package/pip_smoke_test.py
parent8ee50f1dca3f249b39b6c987fff4617b3b83642f (diff)
First careful steps cleaning up contrib/learn: remove contrib/learn/dataframe.
The deleted files have been deprecated since May. PiperOrigin-RevId: 165611833
Diffstat (limited to 'tensorflow/tools/pip_package/pip_smoke_test.py')
-rw-r--r--tensorflow/tools/pip_package/pip_smoke_test.py8
1 files changed, 3 insertions, 5 deletions
diff --git a/tensorflow/tools/pip_package/pip_smoke_test.py b/tensorflow/tools/pip_package/pip_smoke_test.py
index 83909d83ae..9cdd6410e0 100644
--- a/tensorflow/tools/pip_package/pip_smoke_test.py
+++ b/tensorflow/tools/pip_package/pip_smoke_test.py
@@ -112,11 +112,9 @@ def main():
# Check if the dependency is in the pip package, the blacklist, or
# should be ignored because of its file extension
- if (ignore or
- dependency in pip_package_dependencies_list or
- dependency in BLACKLIST):
- continue
- else:
+ if not (ignore or
+ dependency in pip_package_dependencies_list or
+ dependency in BLACKLIST):
missing_dependencies.append(dependency)
print("Ignored files: %d" % ignored_files)