From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: location@lists.ipfire.org Subject: Re: [PATCH] location: Provide a return code if the database does not need to be updated. Date: Tue, 04 Aug 2020 10:42:12 +0100 Message-ID: <25DB92AF-7437-47E2-B0FD-EA5E6D83AB93@ipfire.org> In-Reply-To: <20200729165159.2207-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3324283083468187853==" List-Id: --===============3324283083468187853== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Thank you. Merged. > On 29 Jul 2020, at 17:51, Stefan Schantl wrot= e: >=20 > Signed-off-by: Stefan Schantl > --- > src/python/location.in | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/src/python/location.in b/src/python/location.in > index 5211b28..8cdd140 100644 > --- a/src/python/location.in > +++ b/src/python/location.in > @@ -416,7 +416,7 @@ class CLI(object): > _("The datase has recently be updated recently (%s)") % \ > format_timedelta(now - t), > ) > - return > + return 3 >=20 > # Fetch the timestamp we need from DNS > t =3D location.discover_latest_version() > --=20 > 2.20.1 >=20 --===============3324283083468187853==--