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 7C70413888F for ; Sat, 10 Oct 2015 01:23:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7BABD21C008; Sat, 10 Oct 2015 01:23:55 +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 2232821C008 for ; Sat, 10 Oct 2015 01:23:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DB9B234067D for ; Sat, 10 Oct 2015 01:23:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 529B1DDB for ; Sat, 10 Oct 2015 01:23:49 +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: <1444440564.752975a56d7af79197aa26154d6977401561d51b.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: 752975a56d7af79197aa26154d6977401561d51b X-VCS-Branch: master Date: Sat, 10 Oct 2015 01:23:49 +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: 95406bb8-ddac-40ff-8ae3-90ac31b4f965 X-Archives-Hash: dbc7ffa59bf76693af980538604f4970 commit: 752975a56d7af79197aa26154d6977401561d51b Author: Anthony G. Basile gentoo org> AuthorDate: Sat Oct 10 01:24:17 2015 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Sat Oct 10 01:29:24 2015 +0000 URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=752975a5 grs/Interpret.py: skip blank lines with leading + grs/Interpret.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grs/Interpret.py b/grs/Interpret.py index 15b6cfa..799d794 100644 --- a/grs/Interpret.py +++ b/grs/Interpret.py @@ -173,7 +173,7 @@ class Interpret(Daemon): # Do nothing for lines with initial # or blank lines. Create # a progress stamp only if we are not doing an update run. - if re.search(r'^(#).*$', _line) or len(_line.strip()) == 0: + if re.search(r'^(#).*$', _line) or _line.strip == '' or _line.strip() == '+': if not self.update_run: stampit(progress) continue