'Clean up custom upload/download areas'

def upkeep(self, custom_repos=None):

    from autotest.server import subcommand
    if (not custom_repos):
        try:
            custom_repos = settings.get_value('PACKAGES', 'custom_upload_location').split(',')
        except SettingsError:
            custom_repos = []
        try:
            custom_download = settings.get_value('PACKAGES', 'custom_download_location')
            custom_repos += [custom_download]
        except SettingsError:
            pass
        if (not custom_repos):
            return
    subcommand.parallel_simple(trim_custom_directories, custom_repos, log=False)
