From a61f2d061134d1a61254da4cd8c30cc9b4749cdb Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Mon, 30 May 2022 15:19:30 -0700 Subject: selectors.py: Fix bug 771963 incorrect comparison Signed-off-by: Brian Dolbec --- mirrorselect/selectors.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mirrorselect/selectors.py b/mirrorselect/selectors.py index 4564f11..74405a7 100644 --- a/mirrorselect/selectors.py +++ b/mirrorselect/selectors.py @@ -63,7 +63,7 @@ from mirrorselect.output import encoder, get_encoding, decode_selection # The netselect --ipv4 and --ipv6 options are supported only # with >=net-analyzer/netselect-0.4[ipv6(+)]. -NETSELECT_SUPPORTS_IPV4_IPV6 = False +NETSELECT_SUPPORTS_IPV4_IPV6 = True class Shallow(object): @@ -260,7 +260,7 @@ class Deep(object): for host in hosts: prog += 1 - if self.test_file is not 'mirrorselect-test': + if self.test_file != 'mirrorselect-test': self.output.print_info( 'Downloading %s files from each mirror... [%s of %s]' % (self.test_file, prog, num_hosts) ) -- cgit v1.2.3-65-gdbad