Python-apt shows empty origins object
Bug #704595 reported by
Nicolas Valcarcel
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-apt
Steps to reproduce:
$ mkdir -p /tmp/apt-
$ cp /etc/apt/
- Run the following code in a python shell:
import apt
cache = apt.Cache(
cache.update()
cache.open(
for package in cache:
foo = package
- Inspect the foo.candidate.
[<Origin component:'' archive:'' origin:'' label:'' site:'archive.
Expected results:
[<Origin component:
I can reproduce this and will take a closer look at it soon