Bug#719063: lsb-release: should support python3

Didier 'OdyX' Raboud <[email protected]> Tue, 14 Jul 2015 11:07:57 +0200
Newsgroups gmane.linux.debian.devel.lsb
Organization Debian - The Universal OS
Message-ID <2334947.39E3qVLlK1__21186.9618775838$1436864978$gmane$org@gyllingar>
Control: tag -1 +moreinfo

Le lundi, 1 juin 2015, 12.00:21 Alexandre Detiste a écrit :
> Here is a patch that has got some review from "Python3 porting devel" team.

Great, thanks. I'll make sure to include it in the next upload. That said, I 
just tested it, and I get the following error when launching 
/usr/bin/lsb_release:

$ lsb_release 
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 95, in <module>
    main()
  File "/usr/bin/lsb_release", line 59, in main
    distinfo = lsb_release.get_distro_information()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 378, in 
get_distro_information
    distinfo = guess_debian_release()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 320, in 
guess_debian_release
    rinfo = guess_release_from_apt()
  File "/usr/lib/python3/dist-packages/lsb_release.py", line 253, in 
guess_release_from_apt
    releases.sort(key=release_index)
TypeError: unorderable types: int() < str()


Could you look into it?

Cheers,
OdyX
signature.asc (application/pgp-signature, 648 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQGcBAABCAAGBQJVpNFtAAoJEIvPpx7KFjRVkiEMAI5jNQPq5+Lfh1D4su1Qpkbk
3TYmHTqT2R7auX8D5faDzeUQ3/+va5Eg5Byf0ZCHyPr+gWSCBkVL2qZyIrmx1uef
eaubVhpqKEFf6Dx2lYPXhugTM0DL4rz2ch8eBcfOJIK2WkLcHi099S82tpu/x033
0z68/ADfYHY7xLsfyLdK4YXjhP486/uEZet7fhPJPBxPfcfMr2ygvbtNIGMbFuYd
V26KgV8M9HMCsmfcyFNx8vzzKdmBPBlUns0awjSZsFwf7PqFUlo9wgKBoBlRFBp2
0HUiuCV7LqcSYamcDSfUyruw4X0OkYCwJk3kvrOqPcmSQBbDLo3ZKABjxijOrRge
ttndwuVxsEeGoK7hBTgdWsCeK2VAjLgR9zm5ru9NFPfFcc422+zsA6ikp7E0+4bl
nD7SJwp4c9Y9W2xxV3SyIl0EMBnoil9Zgku1+B6B/uzyrkfpb9fLwR4P1JrQe7DO
/GkBMq8mHH6SU1aQCDGaTUoh5O+4WfyBSctJCFDFcA==
=4dNn
-----END PGP SIGNATURE-----