openstack subnet create fails when tags is None
Bug #1735836 reported by
Carlos Konstanski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-openstackclient |
Fix Released
|
Undecided
|
Carlos Konstanski |
Bug Description
In ntwork/v2/_tag.py lines 105 and 110: obj.tags can be None, in which case set(obj.tags) throws a NoneType exception.
Quickest and dirtiest fix: set(obj.tags or []) in both these lines.
More involved fix: should obj.tags ever be None? Should it default to [] instead?
Changed in python-openstackclient: | |
assignee: | nobody → Carlos Konstanski (ckonstanski) |
status: | New → In Progress |
To post a comment you must log in.
Darn typo. network/v2/_tag.py