def color_for_status(status):
    'Maps a Changelist status to color, for CMDstatus and other tools.'
    return {'unsent': Fore.RED, 'waiting': Fore.BLUE, 'reply': Fore.YELLOW, 'lgtm': Fore.GREEN, 'commit': Fore.MAGENTA, 'closed': Fore.CYAN, 'error': Fore.WHITE}.get(status, Fore.WHITE)
Maps a Changelist status to color, for CMDstatus and other tools.
def color_for_status(status):
    
    return {'unsent': Fore.RED, 'waiting': Fore.BLUE, 'reply': Fore.YELLOW, 'lgtm': Fore.GREEN, 'commit': Fore.MAGENTA, 'closed': Fore.CYAN, 'error': Fore.WHITE}.get(status, Fore.WHITE)