syplugin.py
def main():
    ''' Main function. Executed when this script is executed directly. '''
    cli_argparser = base_cli_argparser(
        description='sublime-ycmd plugin loader',
    )
    cli_args = cli_argparser.parse_args()
    configure_logging(cli_args.log_level, cli_args.log_file)

    logger.info('starting main function')

    if _HAS_LOADED_ST:
        logger.info('running in Sublime Text, starting plugin')
    else:
        logger.info('not running in Sublime Text, setting up debug tests')

    try:
        plugin_loaded()
    finally:
        plugin_unloaded()
 Main function. Executed when this script is executed directly. 
Main function. Executed when this script is executed directly.
Main function . Executed when this script is executed directly .
def main():
    cli_argparser = base_cli_argparser(
        description='sublime-ycmd plugin loader',
    )
    cli_args = cli_argparser.parse_args()
    configure_logging(cli_args.log_level, cli_args.log_file)
    logger.info('starting main function')
    if _HAS_LOADED_ST:
        logger.info('running in Sublime Text, starting plugin')
    else:
        logger.info('not running in Sublime Text, setting up debug tests')
    try:
        plugin_loaded()
    finally:
        plugin_unloaded()
def main ( ) : cli_argparser = base_cli_argparser ( description = 'sublime-ycmd plugin loader' , ) cli_args = cli_argparser . parse_args ( ) configure_logging ( cli_args . log_level , cli_args . log_file ) logger . info ( 'starting main function' ) if _HAS_LOADED_ST : logger . info ( 'running in Sublime Text, starting plugin' ) else : logger . info ( 'not running in Sublime Text, setting up debug tests' ) try : plugin_loaded ( ) finally : plugin_unloaded ( )
Main function.
Main function .
''' Main function. Executed when this script is executed directly. '''