Skip to content

Commit

Permalink
Merge pull request #1189 from selenamarie/bug859489-seamonkey-empty-s…
Browse files Browse the repository at this point in the history
…tring

bug 859489 - ignore blank lines from seamonkey files
  • Loading branch information
selenamarie committed Apr 16, 2013
2 parents 33a67c1 + 47c111f commit a2815d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions socorro/cron/jobs/ftpscraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def parseInfoFile(url, nightly=False):
elif contents:
results = {}
for line in contents:
if line == '':
continue
try:
key, value = line.split('=')
results[key] = value
Expand Down

0 comments on commit a2815d6

Please sign in to comment.