This is a bit verbose :)   what about ``verbose = 'INFO' if verbose else 'WARNING'``