[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#719063: lsb-release: should support python3



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

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: