cells.utils split_cell_and_item should not raise a ValueError when there's no cell
Bug #1153841 reported by
Matthew Sherborne
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Matthew Sherborne |
Bug Description
all the places where 'split_
When the method is called like this (as it is in most places):
cell, item = split_cell_
It raises:
ValueError: need more than 1 value to unpack
----
If you call it with no cell, it should just return a pair with None for the cell and the item.
eg.
=> 'path!to!cell@item'
<= 'path!to!cell', 'item'
=> 'item'
<= None, 'item'
Changed in nova: | |
assignee: | nobody → Matthew Sherborne (msherborne+openstack) |
description: | updated |
Changed in nova: | |
milestone: | none → grizzly-rc1 |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | grizzly-rc1 → 2013.1 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/24135
Review: https:/