James Westby ha scritto:
> try:
>   import json
> except ImportError:
>   import simplejson as json

Yes, it works in many circumstances, at least at those I saw so far.

In this case, code could become:
try:
    import json as simplejson
except ImportError:
    import simplejson

Maybe upstream is interested in using that.

-- 
python-launchpadlib is missing python-simplejson dependency
https://bugs.launchpad.net/bugs/510129
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to