IPackageset.getBySeries not available on 1.0/devel API

Bug #810661 reported by Francis J. Lacoste
4
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
High
Unassigned

Bug Description

>>> from launchpadlib.launchpad import Launchpad
>>> lp = Launchpad.login_with('testcase', 'production')
>>> natty = lp.distributions['ubuntu'].getSeries(name_or_version='natty')
>>> sets = lp.packagesets.getBySeries(distroseries=natty)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/lazr/restfulclient/resource.py", line 319, in __getattr__
    % (self.__class__.__name__, attr))
AttributeError: 'Collection' object has no attribute 'getBySeries'

Specifying version='beta', will work.

There is a problem either with the implementation or the use of the @operation_for_version("beta")
used on IPackageset

Tags: api
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.