[Pypi-checkins] r821 - trunk/pypi
richard
python-checkins at python.org
Sun Jul 25 09:50:43 CEST 2010
Author: richard
Date: Sun Jul 25 09:50:43 2010
New Revision: 821
Modified:
trunk/pypi/webui.py
Log:
simplejson compat
Modified: trunk/pypi/webui.py
==============================================================================
--- trunk/pypi/webui.py (original)
+++ trunk/pypi/webui.py Sun Jul 25 09:50:43 2010
@@ -7,7 +7,7 @@
from distutils2.metadata import DistributionMetadata
try:
import json
-except:
+except ImportError:
import simplejson as json
try:
import psycopg2
More information about the Pypi-checkins
mailing list