From: Michael Tremer <michael.tremer@ipfire.org>
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 [thread overview]
Message-ID: <25DB92AF-7437-47E2-B0FD-EA5E6D83AB93@ipfire.org> (raw)
In-Reply-To: <20200729165159.2207-1-stefan.schantl@ipfire.org>
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
Thank you. Merged.
> On 29 Jul 2020, at 17:51, Stefan Schantl <stefan.schantl(a)ipfire.org> wrote:
>
> Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
> ---
> 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 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
>
> # Fetch the timestamp we need from DNS
> t = location.discover_latest_version()
> --
> 2.20.1
>
prev parent reply other threads:[~2020-08-04 9:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-29 16:51 Stefan Schantl
2020-08-04 9:42 ` Michael Tremer [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=25DB92AF-7437-47E2-B0FD-EA5E6D83AB93@ipfire.org \
--to=michael.tremer@ipfire.org \
--cc=location@lists.ipfire.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox