(self, args)
| 527 | return p |
| 528 | |
| 529 | def do_remove(self, args): |
| 530 | c, p = self._get_license(args) |
| 531 | |
| 532 | path = self._get_path() |
| 533 | rcode = p['rcode'] |
| 534 | licpath = os.path.join(path, rcode) |
| 535 | if os.path.exists(licpath): |
| 536 | shutil.rmtree(licpath) |
| 537 | |
| 538 | c['licenses'].remove(p) |
| 539 | self._set_config(c) |
| 540 | return p |
| 541 | |
| 542 | def do_list(self, args=None): |
| 543 | c = self._get_config() |
nothing calls this directly
no test coverage detected