get_partition_offset: return None when the offset isn't found

Bug #1222645 reported by Fathi Boudra
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LAVA Dispatcher
Fix Released
High
Fathi Boudra

Bug Description

get_partition_offset: an offset is always an integer, we should return 0 instead of None.

Here's a job failure when the image doesn't have an offset:
https://staging.validation.linaro.org/scheduler/job/2224/log_file

Related branches

Fathi Boudra (fboudra)
Changed in lava-dispatcher:
status: New → In Progress
importance: Undecided → High
milestone: none → 2013.09
assignee: nobody → Fathi Boudra (fboudra)
description: updated
Changed in lava-dispatcher:
status: In Progress → Fix Released
Revision history for this message
Fathi Boudra (fboudra) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.