From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gisle Vanem To: location@lists.ipfire.org Subject: Re: [PATCH] location.in: fix search_networks() function call Date: Tue, 18 May 2021 13:04:37 +0200 Message-ID: <92b43bc6-c481-71d2-40d1-9f993ead35eb@gmail.com> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3241274694968356726==" List-Id: --===============3241274694968356726== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Michael Tremer wrote: > Thanks. Merged. >=20 >> On 16 May 2021, at 21:35, Peter M=C3=BCller w= rote: >> >> Fixes: #12617 >> >> Signed-off-by: Peter M=C3=BCller >> --- >> src/python/location.in | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> diff --git a/src/python/location.in b/src/python/location.in >> index ad2ccf5..e02b4e8 100644 >> --- a/src/python/location.in >> +++ b/src/python/location.in >> @@ -506,7 +506,7 @@ class CLI(object): >> f =3D writer(sys.stdout, prefix=3Dcountry_code) >> >> # Print all matching networks >> - for n in db.search_networks(country_code=3Dcountry_code, family=3Dns.f= amily): >> + for n in db.search_networks(country_codes=3D[country_code], family=3Dn= s.family): >> f.write(n) High time. I reported this already 1 April: https://lists.ipfire.org/pipermail/location/2021-April/000263.html --=20 --gv --===============3241274694968356726==--