(args)
Warn options overridden by arguments --gossip and --btc-src
Warn options overridden by arguments --gossip and --btc-src
Warn options overridden by arguments -- gossip and -- btc - src
def _warn_common_overrides(args):
    """Warn options overridden by arguments --gossip and --btc-src"""
    if (not (args.gossip or args.btc_src)):
        return

    opt = "--gossip" if args.gossip else "--btc-src"

    if (args.channel != ApiChannel.USER.value):
        logger.warning("Option {} overrides --channel".format(opt))

    if (args.server != server_map['main'] or args.net is not None):
        logger.warning("Option {} overrides --net and --server".format(opt))
def _warn_common_overrides ( args ) : if ( not ( args . gossip or args . btc_src ) ) : return opt = "--gossip" if args . gossip else "--btc-src" if ( args . channel != ApiChannel . USER . value ) : logger . warning ( "Option {} overrides --channel" . format ( opt ) ) if ( args . server != server_map [ 'main' ] or args . net is not None ) : logger . warning ( "Option {} overrides --net and --server" . format ( opt ) )