From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 474CA138BED for ; Sat, 10 Oct 2015 11:22:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61A8DE07D4; Sat, 10 Oct 2015 11:22:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 00368E07D4 for ; Sat, 10 Oct 2015 11:22:53 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EA358340756 for ; Sat, 10 Oct 2015 11:22:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDAD927A for ; Sat, 10 Oct 2015 11:22:50 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1444476512.5c8cd4560eb2fe3acf10d90f0fc3798c60b9d1b3.blueness@gentoo> Subject: [gentoo-commits] proj/grss:master commit in: grs/ X-VCS-Repository: proj/grss X-VCS-Files: grs/Interpret.py X-VCS-Directories: grs/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: 5c8cd4560eb2fe3acf10d90f0fc3798c60b9d1b3 X-VCS-Branch: master Date: Sat, 10 Oct 2015 11:22:50 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: a37612af-0f7c-4e20-bce9-2f2e22d91541 X-Archives-Hash: b29d1b5e0fa62c4d47e6164c3f4d4107 commit: 5c8cd4560eb2fe3acf10d90f0fc3798c60b9d1b3 Author: Anthony G. Basile gentoo org> AuthorDate: Sat Oct 10 11:28:32 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Oct 10 11:28:32 2015 +0000 URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=5c8cd456 grs/Interpret.py: fix logging during sync/seed. grs/Interpret.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grs/Interpret.py b/grs/Interpret.py index c90a9bd..2bf880c 100644 --- a/grs/Interpret.py +++ b/grs/Interpret.py @@ -157,7 +157,7 @@ class Interpret(Daemon): progress = os.path.join(tmpdir, '.completed_sync') if not os.path.exists(progress) or self.update_run: if self.mock_run: - _lo.log(_line) + _lo.log('sync') else: _sy.sync() stampit(progress) @@ -166,7 +166,7 @@ class Interpret(Daemon): progress = os.path.join(tmpdir, '.completed_seed') if not os.path.exists(progress) and not self.update_run: if self.mock_run: - _lo.log(_line) + _lo.log('seed') else: _se.seed() stampit(progress)