From patchwork Mon Sep 14 18:36:36 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Schantl X-Patchwork-Id: 3464 Return-Path: Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by web04.haj.ipfire.org (Postfix) with ESMTPS id 4Bqw7P6cC8z3x3R for ; Mon, 14 Sep 2020 18:36:49 +0000 (UTC) Received: from mail02.haj.ipfire.org (mail02.haj.ipfire.org [172.28.1.201]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) client-signature ECDSA (P-384)) (Client CN "mail02.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail01.ipfire.org (Postfix) with ESMTPS id 4Bqw7P4fD4zwn; Mon, 14 Sep 2020 18:36:49 +0000 (UTC) Received: from mail02.haj.ipfire.org (localhost [127.0.0.1]) by mail02.haj.ipfire.org (Postfix) with ESMTP id 4Bqw7P20nrz2yRn; Mon, 14 Sep 2020 18:36:49 +0000 (UTC) Received: from mail01.ipfire.org (mail01.haj.ipfire.org [172.28.1.202]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384 client-signature ECDSA (P-384) client-digest SHA384) (Client CN "mail01.haj.ipfire.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mail02.haj.ipfire.org (Postfix) with ESMTPS id 4Bqw7M5h8Kz2xbp; Mon, 14 Sep 2020 18:36:47 +0000 (UTC) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) by mail01.ipfire.org (Postfix) with ESMTPSA id 4Bqw7L6sG9zm2; Mon, 14 Sep 2020 18:36:46 +0000 (UTC) DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003ed25519; t=1600108607; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=K9TjBaAMd8oqqhrzBzmGiiyLmoOePMUC06GHawq2VKg=; b=nAotLwH2WMfzBCL1r1kFN4piQhnGBnN9xja3lxORniyIXMKNUnDBWQiKk5MZ1VJcAFlFX8 sL2jpNDCkLBJEOBg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ipfire.org; s=202003rsa; t=1600108607; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=K9TjBaAMd8oqqhrzBzmGiiyLmoOePMUC06GHawq2VKg=; b=rG9lqFQCAKoKDReloKSgST0g1mv80wdYjH9b67Cled7EoGgElSIwOGywGg+sq0JIrrVNDC magMKdf8O0m3gK2QMEbxl5WQFtTAQKAcQ+ew+mQf16ziY3UtkqRrFvAE1MkOnvp2YGs3fQ oW/LWIdqcDT/HCj0BDxwinhfQWgr4xyyikKEInGRF1ZECvcwlU4poSAdUD9g7bomXmMvIr ArpQLtRGpKoIls3AIuaoZytDckKZg/rQ757+EqO+EaMvmiHsjf/lzTHaX3k0NZ5O+nKQ/j Ha5XtLrAjZqmQWXtFalGH61oUEm/cyzF2klXlONQGGoTfHB5K+dCWYKJlmGLYA== From: Stefan Schantl To: location@lists.ipfire.org Subject: [PATCH] location: Fix message sting if the database has been recently updated Date: Mon, 14 Sep 2020 20:36:36 +0200 Message-Id: <20200914183636.2564-1-stefan.schantl@ipfire.org> MIME-Version: 1.0 Authentication-Results: mail01.ipfire.org; auth=pass smtp.mailfrom=stefan.schantl@ipfire.org X-BeenThere: location@lists.ipfire.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: development@lists.ipfire.org Errors-To: location-bounces@lists.ipfire.org Sender: "Location" Signed-off-by: Stefan Schantl --- 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 8cdd140..3ba209d 100644 --- a/src/python/location.in +++ b/src/python/location.in @@ -413,7 +413,7 @@ class CLI(object): # Check if the database has recently been updated if t >= (now - delta): log.info( - _("The datase has recently be updated recently (%s)") % \ + _("The database has been updated recently(%s)") % \ format_timedelta(now - t), ) return 3