(catlog, lst)
| 148 | return rst |
| 149 | |
| 150 | def sort_tools(catlog, lst): |
| 151 | rst = [] |
| 152 | for i in catlog: |
| 153 | if i=='-':rst.append('-') |
| 154 | for j in lst: |
| 155 | if j==i or j[0].title==i or j[:-3]==i: |
| 156 | lst.remove(j) |
| 157 | rst.append(j) |
| 158 | rst.extend(lst) |
| 159 | return rst |
| 160 | |
| 161 | def build_tools(path, err=False): |
| 162 | root = err in (True, False) |
no test coverage detected