positional decorator on keystoneclient causing warnings

Bug #1302199 reported by Jamie Lennox
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-openstackclient
Fix Released
Undecided
Unassigned

Bug Description

keystoneclient has a positional decorator that attempts to make people use the APIs correctly.

There are a few places where openstackclient warns with:
| WARNING: keystoneclient.utils create takes at most 1 positional argument (3 given)

They are not a problem but it should be fixed.

Revision history for this message
Openstack Gerrit (openstack-gerrit) wrote : Fix merged to python-openstackclient (master)

Reviewed: https://review.openstack.org/85191
Committed: https://git.openstack.org/cgit/openstack/python-openstackclient/commit/?id=022b6d95d167405fa6534680c8a7fe449b35ce77
Submitter: Jenkins
Branch: master

commit 022b6d95d167405fa6534680c8a7fe449b35ce77
Author: Jamie Lennox <email address hidden>
Date: Fri Apr 4 08:09:43 2014 +1000

    Pass arguments to v3 keystoneclient by kwarg

    Keystoneclient has added the positional decorator which emits a warning
    if arguments aren't passed by keyword. This means we are getting
    warnings in certain places in openstackclient.

    Change-Id: Ic5446cd6f122cbb56fce543011386d53bc31fe18
    Closes-Bug: #1302199

Changed in python-openstackclient:
status: New → Fix Committed
Dean Troyer (dtroyer)
Changed in python-openstackclient:
milestone: none → m4
Dean Troyer (dtroyer)
Changed in python-openstackclient:
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.