diff options
author | James Hannah <james.hannah@bytemark.co.uk> | 2014-10-13 14:44:45 +0100 |
---|---|---|
committer | James Hannah <james.hannah@bytemark.co.uk> | 2014-10-13 14:44:45 +0100 |
commit | 2e8147a8613f8b8cc3709d5158fe9903aeed6d1a (patch) | |
tree | 7f77a59c3cd2987d2cddd44dc49839e6f4737507 /lib/custodian/parser.rb | |
parent | dcaac8e064fc2f5b8e51540d8fa2fa788853c86d (diff) |
Remove lines which are just whitespace before parsing
Diffstat (limited to 'lib/custodian/parser.rb')
-rw-r--r-- | lib/custodian/parser.rb | 2 |
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. # |