simplejson is bundled as json in python >2.5

This commit is contained in:
Laurent Bachelier 2010-06-14 00:57:47 +02:00
commit 87f386a384

View file

@ -20,7 +20,10 @@ import datetime
import time import time
from logging import warning from logging import warning
import random import random
import simplejson try:
import json as simplejson
except ImportError:
import simplejson
import urllib import urllib
from weboob.tools.browser import BaseBrowser from weboob.tools.browser import BaseBrowser