commit: dfbc38ca93e107146c24121cade975789a7e984a
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:31:50 2015 +0000
URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=dfbc38ca
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..d326d9c 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