mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-08-19 21:03:21 -07:00
Update ipwhois-1.2.0
This commit is contained in:
parent
4d62245cf5
commit
2c4cc34b2b
13 changed files with 289 additions and 368 deletions
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2013-2019 Philip Hane
|
||||
# Copyright (c) 2013-2020 Philip Hane
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use in source and binary forms, with or without
|
||||
|
@ -166,17 +166,6 @@ group.add_argument(
|
|||
help='The number of times to retry in case socket errors, timeouts, '
|
||||
'connection resets, etc. are encountered.'
|
||||
)
|
||||
group.add_argument(
|
||||
'--asn_alts',
|
||||
type=str,
|
||||
nargs=1,
|
||||
default='whois,http',
|
||||
metavar='"ASN_ALTS"',
|
||||
help='A comma delimited list of additional lookup types to attempt if the '
|
||||
'ASN dns lookup fails. Allow permutations must be enabled. '
|
||||
'Defaults to all: "whois,http" *WARNING* deprecated in '
|
||||
'favor of new argument asn_methods.'
|
||||
)
|
||||
group.add_argument(
|
||||
'--asn_methods',
|
||||
type=str,
|
||||
|
@ -1456,9 +1445,6 @@ if script_args.addr:
|
|||
field_list=script_args.field_list.split(',') if (
|
||||
script_args.field_list and
|
||||
len(script_args.field_list) > 0) else None,
|
||||
asn_alts=script_args.asn_alts.split(',') if (
|
||||
script_args.asn_alts and not script_args.asn_methods and
|
||||
len(script_args.asn_alts) > 0) else None,
|
||||
extra_org_map=script_args.extra_org_map,
|
||||
inc_nir=(not script_args.exclude_nir),
|
||||
nir_field_list=script_args.nir_field_list.split(',') if (
|
||||
|
@ -1484,9 +1470,6 @@ if script_args.addr:
|
|||
len(script_args.excluded_entities) > 0) else None,
|
||||
bootstrap=script_args.bootstrap,
|
||||
rate_limit_timeout=script_args.rate_limit_timeout,
|
||||
asn_alts=script_args.asn_alts.split(',') if (
|
||||
script_args.asn_alts and not script_args.asn_methods and
|
||||
len(script_args.asn_alts) > 0) else None,
|
||||
extra_org_map=script_args.extra_org_map,
|
||||
inc_nir=(not script_args.exclude_nir),
|
||||
nir_field_list=script_args.nir_field_list.split(',') if (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue