series lookup via string gives horrible error
Bug #524766 reported by
Robert Collins
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Triaged
|
Low
|
Unassigned |
Bug Description
affects launchpad
done
Trying to get a series from a project using launchpadlib;
series = proj.series[
File "/usr/lib/
line 705, in __getitem__
found_slice = self._get_
TypeError: cannot concatenate 'str' and 'int' objects
This is kindof ugly. At the top level 'launchpad.
so one expects collections to be string indexed further down the
hierarchy.
(I realise there is getSeries, but why don't you then need to do
launchpad.
-Rob
affects: | launchpad → launchpadlib |
Changed in launchpadlib: | |
importance: | Undecided → Low |
status: | New → Triaged |
tags: | added: api |
To post a comment you must log in.
launchpad.projects works because projects is a utility designed to lookup by name. project.series does nto work because series is a resultset. We do not have a driving need to get item access in projects at this time.