def build_cache(): import logging logging.basicConfig(level=logging.DEBUG) BeijingBus.build_cache() click.secho('Done!', fg='green')