(catlog, lst)
| 80 | return rst |
| 81 | |
| 82 | def sort_plugins(catlog, lst): |
| 83 | rst = [] |
| 84 | for i in catlog: |
| 85 | if i=='-':rst.append('-') |
| 86 | for j in lst: |
| 87 | if j[:-3]==i or j[:-4]==i or j[0].title==i: |
| 88 | lst.remove(j) |
| 89 | rst.append(j) |
| 90 | rst.extend(lst) |
| 91 | return rst |
| 92 | |
| 93 | def build_plugins(path, err=False): |
| 94 | root = err in (True, False) |
no test coverage detected