(args)
return {
        'cfg': args.cfg,
        'cfg_dir': args.cfg_dir,
        'dest_addr': args.report_dest,
        'hostname': args.report_hostname,
        'tls_cert': args.report_cert,
        'tls_key': args.report_key,
        'gnupghome': args.report_gnupghome,
        'passphrase': args.report_passphrase
    }
Extract the parser fields needed to construct a Reporter object
Extract the parser fields needed to construct a Reporter object
Extract the parser fields needed to construct a Reporter object
def get_report_opts(args):
    """Extract the parser fields needed to construct a Reporter object"""
    return {
        'cfg': args.cfg,
        'cfg_dir': args.cfg_dir,
        'dest_addr': args.report_dest,
        'hostname': args.report_hostname,
        'tls_cert': args.report_cert,
        'tls_key': args.report_key,
        'gnupghome': args.report_gnupghome,
        'passphrase': args.report_passphrase
    }
def get_report_opts ( args ) : return { 'cfg' : args . cfg , 'cfg_dir' : args . cfg_dir , 'dest_addr' : args . report_dest , 'hostname' : args . report_hostname , 'tls_cert' : args . report_cert , 'tls_key' : args . report_key , 'gnupghome' : args . report_gnupghome , 'passphrase' : args . report_passphrase }