Closed Bug 963431 Opened 11 years ago Closed 11 years ago

typerror in socorro/cron/jobs/ftpscraper.py in getJsonRelease , line 170

Categories

(Socorro :: Backend, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: rhelmer, Assigned: rhelmer)

Details

(Whiteboard: [qa-])

Attachments

(2 files)

Looks like https://github.com/mozilla/socorro/blob/master/socorro/cron/jobs/ftpscraper.py#L170 is trying to index into the None it's getting back from parseBuildJsonFile() (which it is ok and it should handle)
Assignee: nobody → rhelmer
Status: NEW → ASSIGNED
Attached file handle None
Attachment #8364856 - Flags: review?(sdeckelmann)
Needed to use continue instead of return. Added some tests.
Attachment #8365086 - Flags: review?(rhelmer)
Attachment #8364856 - Flags: review?(sdeckelmann)
Commits pushed to master at https://github.com/mozilla/socorro

https://github.com/mozilla/socorro/commit/cbc0fb576a8fa1bfd6d338e0d5471aaa1540494f
Fixes bug 963431 handle empty result from getJsonRelease()

https://github.com/mozilla/socorro/commit/067c0342379f53bba250aab6290847bbe7477fb3
Merge pull request #1820 from selenamarie/bug963431-handle-empty-json-result

Fixes bug 963431 handle empty result from getJsonRelease()
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 72
Attachment #8365086 - Flags: review?(rhelmer) → review+
Whiteboard: [qa-]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: