commit: 752975a56d7af79197aa26154d6977401561d51b Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Sat Oct 10 01:24:17 2015 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> 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