Missing underline for python magic method __getsclice__

Bug #1511256 reported by Jaxon Wang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Sahara
Fix Released
Low
Jaxon Wang

Bug Description

__getslice__ is a magic method to return a slice of python.
In sahara/plugins/cdh/client/type.py:

def __getslice(self, i, j):
         return self.objects.__getslice__(i, j)

https://github.com/openstack/sahara/blob/master/sahara/plugins/cdh/client/types.py#L440

Tags: plugin.cdh
Jaxon Wang (jxwang92)
Changed in sahara:
assignee: nobody → Jaxon Wang (jxwang92)
Changed in sahara:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to sahara (master)

Fix proposed to branch: master
Review: https://review.openstack.org/240287

Changed in sahara:
status: Confirmed → In Progress
Changed in sahara:
importance: Undecided → Low
milestone: none → mitaka-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to sahara (master)

Reviewed: https://review.openstack.org/240287
Committed: https://git.openstack.org/cgit/openstack/sahara/commit/?id=183da1816b5fa6ac7948fe91f9b5cefb0d9ba110
Submitter: Jenkins
Branch: master

commit 183da1816b5fa6ac7948fe91f9b5cefb0d9ba110
Author: Jaxon Wang <email address hidden>
Date: Thu Oct 29 16:40:48 2015 +0800

    Fix magic method name in plugin.cdh.clent.type

    Change __getslice to a proper python magic method name.

    Change-Id: I037ec0ce54c9060781bc04c11c9eb3224e4ccb54
    Closes-Bug: #1511256

Changed in sahara:
status: In Progress → Fix Committed
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/sahara 4.0.0.0b1

This issue was fixed in the openstack/sahara 4.0.0.0b1 development milestone.

Changed in sahara:
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.