summaryrefslogtreecommitdiff
path: root/lib/custodian/parser.rb
diff options
context:
space:
mode:
authorJames Hannah <james.hannah@bytemark.co.uk>2014-10-13 14:44:45 +0100
committerJames Hannah <james.hannah@bytemark.co.uk>2014-10-13 14:44:45 +0100
commit2e8147a8613f8b8cc3709d5158fe9903aeed6d1a (patch)
tree7f77a59c3cd2987d2cddd44dc49839e6f4737507 /lib/custodian/parser.rb
parentdcaac8e064fc2f5b8e51540d8fa2fa788853c86d (diff)
Remove lines which are just whitespace before parsing
Diffstat (limited to 'lib/custodian/parser.rb')
-rw-r--r--lib/custodian/parser.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/custodian/parser.rb b/lib/custodian/parser.rb
index 6b71541..d32b9c9 100644
--- a/lib/custodian/parser.rb
+++ b/lib/custodian/parser.rb
@@ -248,6 +248,8 @@ module Custodian
line.chomp! if ( !line.nil? )
+ line.strip! if ( !line.nil? )
+
#
# A blank line, or a comment may be skipped.
#