Skip to content

Commit 67715a4

Browse files
committed
Skip any blank lines
1 parent 23be965 commit 67715a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

osgtest/tests/test_06_fetch_crl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ class TestFetchCrl(osgunittest.OSGTestCase):
3131
def output_is_acceptable(self, fetch_crl_output):
3232
all_lines_ok = True
3333
for line in fetch_crl_output.rstrip('\n').split('\n'):
34+
if not line: # skip blank lines
35+
continue
3436
line_ok = False
3537
for error_string in TestFetchCrl.error_message_whitelist:
3638
if re.search(error_string, line):

0 commit comments

Comments
 (0)