(self, args)
| 557 | return p |
| 558 | |
| 559 | def do_remove(self, args): |
| 560 | c, p = self._get_license(args) |
| 561 | |
| 562 | path = self._get_path() |
| 563 | rcode = p['rcode'] |
| 564 | licpath = os.path.join(path, rcode) |
| 565 | if os.path.exists(licpath): |
| 566 | shutil.rmtree(licpath) |
| 567 | |
| 568 | c['licenses'].remove(p) |
| 569 | self._set_config(c) |
| 570 | return p |
| 571 | |
| 572 | def do_list(self, args=None): |
| 573 | c = self._get_config() |
nothing calls this directly
no test coverage detected