(self, args)
| 841 | .format(bs=bs, Fore=Out_Fore)) |
| 842 | |
| 843 | def clean(self, args): |
| 844 | components = args.component |
| 845 | |
| 846 | component_clean_methods = { |
| 847 | 'all': self.clean_all, |
| 848 | 'dists': self.clean_dists, |
| 849 | 'distributions': self.clean_dists, |
| 850 | 'builds': self.clean_builds, |
| 851 | 'bootstrap_builds': self.clean_bootstrap_builds, |
| 852 | 'downloads': self.clean_download_cache} |
| 853 | |
| 854 | for component in components: |
| 855 | if component not in component_clean_methods: |
| 856 | raise BuildInterruptingException(( |
| 857 | 'Asked to clean "{}" but this argument is not ' |
| 858 | 'recognised'.format(component))) |
| 859 | component_clean_methods[component](args) |
| 860 | |
| 861 | def clean_all(self, args): |
| 862 | """Delete all build components; the package cache, package builds, |
nothing calls this directly
no test coverage detected