Commit e802889
solve the bug which the python include config gives out repeat results (tensorflow#3742)
```
./configure
Please specify the location of python. [Default is /home/wenjian/anaconda3/bin/python]:
Do you wish to build TensorFlow with Google Cloud Platform support? [y/N] N
No Google Cloud Platform support will be enabled for TensorFlow
Found possible Python library paths:
/home/wenjian/anaconda3/lib/python3.5/site-packages
/home/wenjian/anaconda3/lib/python3.5/site-packages
Please input the desired Python library path to use. Default is [/home/wenjian/anaconda3/lib/python3.5/site-packages]
```
it shows repeat result in config on python includes, it is because the old code show paths[0] and ret_paths at the same time,
so I modify the condition and do some simple optimization by using `join`1 parent 50d7231 commit e802889
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
76 | 75 | | |
77 | 76 | | |
78 | 77 | | |
| |||
0 commit comments