commit: 94db11827e4de100f00b168da884b7e18d7d9b0c
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:24:17 2015 +0000
URL: https://gitweb.gentoo.org/proj/grss.git/commit/?id=94db1182
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..f678050 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) of _line.strip == '' or
_line.strip() == '+':
if not self.update_run:
stampit(progress)
continue