lp.services.worlddata.model.language unusable unless lp.services.worlddata.model.spokenin imported first
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Colin Watson |
Bug Description
I'm landing a branch that removes all of the glob imports from canonical.
File "lib/lp/
Failed example:
print [country.name for country in es.countries]
Exception raised:
Traceback (most recent call last):
File "/usr/lib/
File "<doctest language.txt[63]>", line 1, in <module>
print [country.name for country in es.countries]
File "/var/launchpad
return self._countries
File "/var/launchpad
File "/var/launchpad
if self._relation2 is None:
File "/var/launchpad
getattr(obj, self._attr_
File "/var/launchpad
File "/var/launchpad
return (self.resolve_
File "/var/launchpad
return self._resolve_
File "/var/launchpad
return self._registry.
File "/var/launchpad
% name)
PropertyPath
These go away when I add:
from lp.services.
to the top of lib/lp/
For the moment, I'm leaving that line in there with a XXX comment.
Related branches
- Thiago F. Pappacena (community): Approve
-
Diff: 33 lines (+5/-6)2 files modifiedlib/lp/services/worlddata/configure.zcml (+5/-0)
lib/lp/services/worlddata/model/language.py (+0/-6)
Changed in launchpad-foundations: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in launchpad: | |
status: | Triaged → In Progress |
assignee: | nobody → Colin Watson (cjwatson) |
Changed in launchpad: | |
status: | In Progress → Fix Released |