Python error when api_version is a kwarg

Bug #1527772 reported by Mark Sturdevant
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-manilaclient
Fix Released
High
Mark Sturdevant

Bug Description

The positional arg is called api_version so when a client uses the api_version kwarg it gets a python error. Renaming the positional and using it instead of the kwarg restores compatability.

Should continue to use the positional version to select the major client version.

If there is an api_version in the kwargs, forward that to the selected client. Otherwise build an APIVersion from the positional arg and forward that as a kwarg.

Changed in python-manilaclient:
assignee: nobody → Mark Sturdevant (mark-sturdevant)
Revision history for this message
Mark Sturdevant (mark-sturdevant) wrote :
Changed in python-manilaclient:
importance: Undecided → High
status: New → Fix Committed
milestone: none → mitaka-2
Changed in python-manilaclient:
status: Fix Committed → Fix Released
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.