← Back to team overview

zim-wiki team mailing list archive

Patch to avoid using "json" with python 2.5

 

Hello,

as reported in http://bugs.debian.org/564835, the "json" module exists for
python 2.5 (as an external module, packaged in python-json) but it's an
old version apparently that doesn't support some of the features that zim
uses...

The user suggests a patch to not even try using "json" with python < 2.6
and to go straight to simplejson in that case, it looks OK to me, see
attachment. I enabled it on the debian package for now.

Cheers,
-- 
Raphaël Hertzog



Follow ups