Resource.update_attrs should check emptiness

Bug #1466925 reported by Brian Curtin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack SDK
Confirmed
Medium
Unassigned

Bug Description

The Resource.update_attrs method can sometimes be called with None, which causes issues when we try to iterate over the args and kwargs (which are None), causing a TypeError. This is currently worked around in https://review.openstack.org/#/c/193333 but we should make this method check the arguments before trying to iterate over them.

Revision history for this message
Brian Curtin (brian.curtin) wrote :

While this is still valid, I haven't seen this since reporting it and it's not a 1.0 blocker.

Changed in python-openstacksdk:
milestone: 1.0 → none
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.