aboutsummaryrefslogtreecommitdiffhomepage
path: root/util/python
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <bsteiner@google.com>2016-08-16 14:01:13 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-08-16 15:17:08 -0700
commit8b3d8c8b5e96036ec78e01292c56ce099c5a62ab (patch)
tree5942281d5ece05ae07c144031ea69c40f9691545 /util/python
parentf5abc68bd74a8ecec037acac3e0851419201fc48 (diff)
Merge changes from github.
Change: 130451359
Diffstat (limited to 'util/python')
-rwxr-xr-xutil/python/python_config.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/util/python/python_config.sh b/util/python/python_config.sh
index 6eb8a39ece..76ad559f02 100755
--- a/util/python/python_config.sh
+++ b/util/python/python_config.sh
@@ -69,10 +69,9 @@ for path in all_paths:
if len(paths) == 1:
print(paths[0])
-ret_paths = ""
-for path in paths:
- ret_paths += path + " "
-print(ret_paths)
+else:
+ ret_paths = " ".join(paths)
+ print(ret_paths)
END
}