[chirp_devel] Patch for issue 1155: chirpw crashes on "pyver.split" on OpenSuSE 11.4

J A Stephen Viggiano
Sun Sep 29 15:35:38 PDT 2013


The Python official docs warn that it can be a Bad Idea to try to parse 
version information from sys.version. Apparently there is some latitude 
in what this contains. And, it appears, advantage of this latitude may 
have been taken when Python was built for this distro.

I have attached a patch for this issue. It is not as bullet-proof as I 
would like, but it should increase the robustness level, and, as 
Voltaire once said, "le parfait est l'ennemi du bon." In other words, my 
French is better than my Python. ;^)

73 de AC2LQ

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 1155_01.patch
Type: text/x-patch
Size: 1198 bytes
Desc: not available
Url : http://intrepid.danplanet.com/pipermail/chirp_devel/attachments/20130929/c2406470/attachment-0001.bin 


More information about the chirp_devel mailing list