From 2e8147a8613f8b8cc3709d5158fe9903aeed6d1a Mon Sep 17 00:00:00 2001 From: James Hannah Date: Mon, 13 Oct 2014 14:44:45 +0100 Subject: Remove lines which are just whitespace before parsing --- lib/custodian/parser.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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. # -- cgit v1.2.1