diff -r cb5dfea92285 -r b6e250dd7a7d web/views/facets.py --- a/web/views/facets.py Fri Apr 23 11:10:30 2010 +0200 +++ b/web/views/facets.py Fri Apr 23 12:42:53 2010 +0200 @@ -7,7 +7,10 @@ """ __docformat__ = "restructuredtext en" -from simplejson import dumps +try: + from json import dumps +except ImportError: + from simplejson import dumps from logilab.mtconverter import xml_escape