self.method undefined in RateLimit.__repr__

Bug #1258489 reported by Igor A. Lukyanenkov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
Fix Released
Medium
Igor A. Lukyanenkov

Bug Description

Calling repr on RateLimit causes "AttributeError: 'RateLimit' object has no attribute 'method'".

Looks like self.verb should be used instead.

Changed in python-cinderclient:
assignee: nobody → Igor A. Lukyanenkov (ilukyanenkov)
Changed in python-cinderclient:
status: New → In Progress
Changed in python-cinderclient:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-cinderclient (master)

Reviewed: https://review.openstack.org/59724
Committed: https://git.openstack.org/cgit/openstack/python-cinderclient/commit/?id=1fc1b4bea1f813ec54fc448aad3794ca78507a11
Submitter: Jenkins
Branch: master

commit 1fc1b4bea1f813ec54fc448aad3794ca78507a11
Author: Igor A. Lukyanenkov <email address hidden>
Date: Tue Dec 3 15:47:58 2013 +0400

    Fix RateLimit.__repr__ - self.method is undefined

    Using self.verb instead of self.method, unit tests added to cover this fix.

    Closes-bug: #1258489

    Change-Id: I4a84179ff96c50b230afcaea7a19fb54613577fb

Changed in python-cinderclient:
status: In Progress → Fix Committed
Changed in python-cinderclient:
milestone: none → 1.3.1
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.