[Bug 1194687] [NEW] distro info bails out and prevents work from getting done when it doesn't have to

Launchpad Bug Tracker 1194687 at bugs.launchpad.net
Wed Jun 26 09:50:18 UTC 2013


You have been subscribed to a public bug:

$ pbuilder-dist raring login
Traceback (most recent call last):
  File "/usr/bin/pbuilder-dist", line 462, in <module>
    main()
  File "/usr/bin/pbuilder-dist", line 456, in main
    sys.exit(subprocess.call(app.get_command(args)))
  File "/usr/bin/pbuilder-dist", line 286, in get_command
    if self.target_distro == UbuntuDistroInfo().devel():
  File "/usr/lib/python2.7/dist-packages/distro_info.py", line 92, in devel
    raise DistroDataOutdated()
distro_info.DistroDataOutdated: Distribution data outdated.

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.

** Affects: ubuntu-dev-tools (Ubuntu)
     Importance: Medium
         Status: Triaged

-- 
distro info bails out and prevents work from getting done when it doesn't have to
https://bugs.launchpad.net/bugs/1194687
You received this bug notification because you are a member of MOTU, which is subscribed to ubuntu-dev-tools in Ubuntu.




More information about the universe-bugs mailing list