aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2015-10-09 21:24:17 -0400
committerAnthony G. Basile <blueness@gentoo.org>2015-10-09 21:31:50 -0400
commitdfbc38ca93e107146c24121cade975789a7e984a (patch)
tree3da79cfcb48d420e54c695daa0d10f830a811e85
parentgrs/Execute.py: refactor signalexit(). (diff)
downloadgrss-dfbc38ca93e107146c24121cade975789a7e984a.zip
grss-dfbc38ca93e107146c24121cade975789a7e984a.tar.gz
grss-dfbc38ca93e107146c24121cade975789a7e984a.tar.bz2
grs/Interpret.py: skip blank lines with leading +
-rw-r--r--grs/Interpret.py2
1 files changed, 1 insertions, 1 deletions
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