distro info bails out and prevents work from getting done when it doesn't have to
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-dev-tools (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
$ pbuilder-dist raring login
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
sys.
File "/usr/bin/
if self.target_distro == UbuntuDistroInf
File "/usr/lib/
raise DistroDataOutda
distro_
This is really ridiculous. Yes, it's outdated, but the data it has knows about raring, so there's no need to bail out like that. The package should only error out in cases where it can't continue. A traceback is a very poor raw to communicate a need for a package udpate.
I agree. pbuilder-dist should handle this error case better, when distro-info raises this exception. There is nothing that distro-info could do differently.